Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753715AbbF2PiW (ORCPT ); Mon, 29 Jun 2015 11:38:22 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:37610 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753447AbbF2Phv (ORCPT ); Mon, 29 Jun 2015 11:37:51 -0400 From: Eric Auger To: eric.auger@st.com, eric.auger@linaro.org, linux-arm-kernel@lists.infradead.org, marc.zyngier@arm.com, christoffer.dall@linaro.org, andre.przywara@arm.com, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, patches@linaro.org, p.fedin@samsung.com, pbonzini@redhat.com Subject: [PATCH 2/7] KVM: kvm_host: add kvm_extended_msi Date: Mon, 29 Jun 2015 17:37:12 +0200 Message-Id: <1435592237-17924-3-git-send-email-eric.auger@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1435592237-17924-1-git-send-email-eric.auger@linaro.org> References: <1435592237-17924-1-git-send-email-eric.auger@linaro.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1390 Lines: 48 Add a new kvm_extended_msi struct to store the additional device ID specific to ARM. kvm_kernel_irq_routing_entry union now encompasses this new struct. Signed-off-by: Eric Auger --- RFC -> PATCH: - reword the commit message after change in first patch (uapi) --- include/linux/kvm_host.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index ad45054..e1c1c0d 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -304,6 +304,13 @@ struct kvm_s390_adapter_int { u32 adapter_id; }; +struct kvm_extended_msi { + u32 address_lo; /* low 32 bits of msi message address */ + u32 address_hi; /* high 32 bits of msi message address */ + u32 data; /* 16 bits of msi message data */ + u32 devid; /* out-of-band device ID */ +}; + struct kvm_kernel_irq_routing_entry { u32 gsi; u32 type; @@ -317,6 +324,7 @@ struct kvm_kernel_irq_routing_entry { } irqchip; struct msi_msg msi; struct kvm_s390_adapter_int adapter; + struct kvm_extended_msi ext_msi; }; struct hlist_node link; }; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/