Message ID | 1436430137-24205-3-git-send-email-eric.auger@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDU5RLWMTQJRBWG67CWAKGQE3HZXENQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 22B27213FD for <linaro@patches.linaro.org>; Thu, 9 Jul 2015 08:22:49 +0000 (UTC) Received: by lbbpo10 with SMTP id po10sf30330686lbb.1 for <linaro@patches.linaro.org>; Thu, 09 Jul 2015 01:22:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=TsFT2ihH3sLjG27c3Ofcv6fc6qb6gZgyxdYA3tTetSE=; b=dXdo3AWvdWDleY3Nboqg8geMHRp8HerJ97XeLE1NEqqRgLLdqQDlRkefJ184a4BTeW IGFc07a6t2QYkgjdvtjFHCqje88UtlU9qJOA3eue9ajhKAa8Yc52p7X9N4vAJn8MVJIO VVyPIcPr+DRXCaGZheSosYA1LClgYKzO9RUIvBLP2Em+qHxpFlxr0P08tAIm8GnP7tj7 UhKByeCg9f59r+o6xz1h2ksQOiUUJPTNwueq+j+STtUxDI4YAs341Z4pkWeEfxgjuhPo CvZDk9CzopJ/ZOATgatB+lIhUD9obTxgCpyUrzcMZ+DOjP9dsJROWcGBQ+US80sUb+Ad yqZw== X-Gm-Message-State: ALoCoQnt83lpurkJL8XUzkXtEg6smoTPlEPNw4jA23PGkhS++C5EkSgbfwHUmMQk418qIX9BXyAH X-Received: by 10.152.26.226 with SMTP id o2mr7300858lag.0.1436430168156; Thu, 09 Jul 2015 01:22:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.30.103 with SMTP id r7ls891116lah.106.gmail; Thu, 09 Jul 2015 01:22:47 -0700 (PDT) X-Received: by 10.152.6.166 with SMTP id c6mr13554004laa.62.1436430167942; Thu, 09 Jul 2015 01:22:47 -0700 (PDT) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com. [209.85.217.173]) by mx.google.com with ESMTPS id z3si4145825lbp.168.2015.07.09.01.22.47 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jul 2015 01:22:47 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by lbzd8 with SMTP id d8so25173290lbz.0 for <patchwork-forward@linaro.org>; Thu, 09 Jul 2015 01:22:47 -0700 (PDT) X-Received: by 10.152.206.75 with SMTP id lm11mr13239262lac.41.1436430167776; Thu, 09 Jul 2015 01:22:47 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp492385lbb; Thu, 9 Jul 2015 01:22:47 -0700 (PDT) X-Received: by 10.180.102.74 with SMTP id fm10mr121826152wib.25.1436430167112; Thu, 09 Jul 2015 01:22:47 -0700 (PDT) Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com. [74.125.82.48]) by mx.google.com with ESMTPS id eo2si8420925wjd.180.2015.07.09.01.22.46 for <patches@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jul 2015 01:22:47 -0700 (PDT) Received-SPF: pass (google.com: domain of eric.auger@linaro.org designates 74.125.82.48 as permitted sender) client-ip=74.125.82.48; Received: by wgck11 with SMTP id k11so216729487wgc.0 for <patches@linaro.org>; Thu, 09 Jul 2015 01:22:46 -0700 (PDT) X-Received: by 10.194.206.65 with SMTP id lm1mr28120660wjc.117.1436430166873; Thu, 09 Jul 2015 01:22:46 -0700 (PDT) Received: from gnx2579.home (LCaen-156-56-7-90.w80-11.abo.wanadoo.fr. [80.11.198.90]) by smtp.gmail.com with ESMTPSA id ib9sm7522108wjb.2.2015.07.09.01.22.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jul 2015 01:22:45 -0700 (PDT) From: Eric Auger <eric.auger@linaro.org> To: eric.auger@st.com, eric.auger@linaro.org, linux-arm-kernel@lists.infradead.org, marc.zyngier@arm.com, christoffer.dall@linaro.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org Cc: patches@linaro.org, andre.przywara@arm.com, p.fedin@samsung.com, pbonzini@redhat.com Subject: [PATCH v2 2/7] KVM: kvm_host: add devid in kvm_kernel_irq_routing_entry Date: Thu, 9 Jul 2015 10:22:12 +0200 Message-Id: <1436430137-24205-3-git-send-email-eric.auger@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1436430137-24205-1-git-send-email-eric.auger@linaro.org> References: <1436430137-24205-1-git-send-email-eric.auger@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: eric.auger@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 9564fd7..cac0fe4 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -321,7 +321,10 @@ struct kvm_kernel_irq_routing_entry { unsigned irqchip; unsigned pin; } irqchip; - struct msi_msg msi; + struct { + struct msi_msg msi; + u32 devid; + }; struct kvm_s390_adapter_int adapter; }; struct hlist_node link;
Extend kvm_kernel_irq_routing_entry to transport devid. This is needed for ARM. Its validity depends on the routing type entry. Signed-off-by: Eric Auger <eric.auger@linaro.org> --- v1 -> v2: replace msi_msg field by a struct composed of msi_msg and devid RFC -> PATCH: - reword the commit message after change in first patch (uapi) --- include/linux/kvm_host.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)