From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biQRI-0002P1-Tg for qemu-devel@nongnu.org; Fri, 09 Sep 2016 14:22:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biQRC-000050-QN for qemu-devel@nongnu.org; Fri, 09 Sep 2016 14:22:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biQRC-00004u-KN for qemu-devel@nongnu.org; Fri, 09 Sep 2016 14:22:06 -0400 Date: Fri, 9 Sep 2016 21:22:04 +0300 From: "Michael S. Tsirkin" Message-ID: <20160909212122-mutt-send-email-mst@kernel.org> References: <1472660717-4646-1-git-send-email-davidkiarie4@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1472660717-4646-1-git-send-email-davidkiarie4@gmail.com> Subject: Re: [Qemu-devel] [v3 0/6] AMD IOMMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Kiarie Cc: qemu-devel@nongnu.org, ehabkost@redhat.com, rkrcmar@redhat.com, peterx@redhat.com, jan.kiszka@web.de, valentine.sinitsyn@gmail.com On Wed, Aug 31, 2016 at 07:25:11PM +0300, David Kiarie wrote: > Hello all, > > Changes since V2 > -formating fixes. > -fixed an issue where the right IOAPIC id was not being correctly set when using kernel_irqchip=off > > The following patchset implements AMD-Vi interrupt remapping logic and hooks it onto existing IR infrastucture. > > I have bundled this patchset together with the "Explicit SID for IOAPIC"."Explicit SID for IOAPIC" functions to > affiliate MSI routes with a requester ID and a PCI device if present which enables platform devices like IOAPIC to > make interrupt requests using an explicit SID as required by both VT-d and AMD-Vi. Could you please Cc maintainers of all affected subsystems? E.g. I see changes in VFIO and kvm and neither Paolo nor Alex were Cc'd. > David Kiarie (6): > hw/msi: Allow platform devices to use explicit SID > hw/i386: enforce SID verification > hw/iommu: Prepare for AMD IOMMU interrupt remapping > hw/iommu: AMD IOMMU interrupt remapping > hw/acpi: report IOAPIC on IVRS > hw/iommu: share common code between IOMMUs > > hw/i386/acpi-build.c | 2 + > hw/i386/amd_iommu.c | 241 +++++++++++++++++++++++++++++++++++++- > hw/i386/amd_iommu.h | 82 +++++++++++++ > hw/i386/intel_iommu.c | 89 +++++++------- > hw/i386/kvm/pci-assign.c | 12 +- > hw/i386/trace-events | 7 ++ > hw/i386/x86-iommu.c | 8 ++ > hw/intc/ioapic.c | 30 ++++- > hw/misc/ivshmem.c | 6 +- > hw/vfio/pci.c | 6 +- > hw/virtio/virtio-pci.c | 7 +- > include/hw/i386/ioapic_internal.h | 1 + > include/hw/i386/x86-iommu.h | 1 + > include/sysemu/kvm.h | 25 ++-- > kvm-all.c | 10 +- > kvm-stub.c | 5 +- > qemu-version.h | 1 + > target-i386/kvm.c | 15 ++- > 18 files changed, 462 insertions(+), 86 deletions(-) > create mode 100644 qemu-version.h > > -- > 2.1.4