Received: from eggs.gnu.org ([2001:4830:134:3::10]:34098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZKp0-00024Y-72 for qemu-devel@nongnu.org; Mon, 15 Aug 2016 12:33:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZKov-0007tI-70 for qemu-devel@nongnu.org; Mon, 15 Aug 2016 12:33:05 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:34282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZKov-0007tD-0J for qemu-devel@nongnu.org; Mon, 15 Aug 2016 12:33:01 -0400 Received: by mail-wm0-x244.google.com with SMTP id q128so11976376wma.1 for ; Mon, 15 Aug 2016 09:33:00 -0700 (PDT) From: David Kiarie Date: Mon, 15 Aug 2016 19:32:40 +0300 Message-Id: <1471278766-25277-1-git-send-email-davidkiarie4@gmail.com> Subject: [Qemu-devel] [V2 0/6] AMD IOMMU interrupt remapping List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peterx@redhat.com, mst@redhat.com, jan.kiszka@web.de, rkrcmar@redhat.com, valentine.sinitsyn@gmail.com, pbonzini@redhat.com, David Kiarie Hello all, 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. 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 | 244 +++++++++++++++++++++++++++++++++++++- hw/i386/amd_iommu.h | 40 +++---- hw/i386/intel_iommu.c | 89 +++++++------- hw/i386/kvm/pci-assign.c | 12 +- hw/i386/x86-iommu.c | 8 ++ hw/intc/ioapic.c | 25 +++- 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 +- target-i386/kvm.c | 15 ++- 16 files changed, 386 insertions(+), 110 deletions(-) -- 2.1.4