Received: from eggs.gnu.org ([2001:4830:134:3::10]:54463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmP3U-00021d-Vz for qemu-devel@nongnu.org; Tue, 20 Sep 2016 13:42:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmP3P-0003Gw-UO for qemu-devel@nongnu.org; Tue, 20 Sep 2016 13:42:03 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:34992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmP3P-0003GX-Od for qemu-devel@nongnu.org; Tue, 20 Sep 2016 13:41:59 -0400 Received: by mail-wm0-f67.google.com with SMTP id 133so4585190wmq.2 for ; Tue, 20 Sep 2016 10:41:59 -0700 (PDT) From: David Kiarie Date: Tue, 20 Sep 2016 20:40:40 +0300 Message-Id: <1474393246-29085-1-git-send-email-davidkiarie4@gmail.com> Subject: [Qemu-devel] [V5 0/6] AMD IOMMU interrupt remapping List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, rkrcmar@redhat.com, mst@redhat.com, peterx@redhat.com, alex.williamson@redhat.com, jan.kiszka@web.de, pbonzini@redhat.com Cc: David Kiarie Hello all, This patchset mainly adds AMD IOMMU interrupt remapping logic to Qemu. Doing that I have solved an existing issue where platform devices are not able to make interrupt requests with and explicit SID. This series is based on the previously sent AMD IOMMU patchset and is available here[1] Changes since v4 -Removed SID enforcement from Intel IOMMU. -changed the code so that cache invalidation handler triggers with each invalidation from IOMMU -A few other miscallaneous fixes all suggested by Peter. [1] https://github.com/aslaq/qemu ir 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 | 206 +++++++++++++++++++++++++++++++++++++- hw/i386/amd_iommu.h | 80 +++++++++++++++ hw/i386/intel_iommu.c | 84 +++++++--------- hw/i386/kvm/pci-assign.c | 12 ++- hw/i386/trace-events | 7 ++ hw/i386/x86-iommu.c | 8 ++ hw/intc/ioapic.c | 33 ++++-- 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 | 2 +- include/sysemu/kvm.h | 25 +++-- kvm-all.c | 11 +- kvm-stub.c | 5 +- target-arm/kvm.c | 3 +- target-i386/kvm.c | 15 +-- target-mips/kvm.c | 3 +- target-ppc/kvm.c | 3 +- target-s390x/kvm.c | 3 +- 21 files changed, 427 insertions(+), 95 deletions(-) -- 2.1.4