qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [V5 0/6] AMD IOMMU interrupt remapping
@ 2016-09-20 17:40 David Kiarie
  2016-09-20 17:40 ` [Qemu-devel] [V5 1/6] hw/msi: Allow platform devices to use explicit SID David Kiarie
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: David Kiarie @ 2016-09-20 17:40 UTC (permalink / raw)
  To: qemu-devel, rkrcmar, mst, peterx, alex.williamson, jan.kiszka,
	pbonzini
  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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-10-19  6:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-20 17:40 [Qemu-devel] [V5 0/6] AMD IOMMU interrupt remapping David Kiarie
2016-09-20 17:40 ` [Qemu-devel] [V5 1/6] hw/msi: Allow platform devices to use explicit SID David Kiarie
2016-10-09 22:11   ` Michael S. Tsirkin
2016-10-10  8:34     ` Paolo Bonzini
2016-10-19  6:58       ` David Kiarie
2016-09-20 17:40 ` [Qemu-devel] [V5 2/6] hw/i386: enforce SID verification David Kiarie
2016-09-20 17:40 ` [Qemu-devel] [V5 3/6] hw/iommu: Prepare for AMD IOMMU interrupt remapping David Kiarie
2016-09-20 17:40 ` [Qemu-devel] [V5 4/6] hw/iommu: " David Kiarie
2016-09-20 17:40 ` [Qemu-devel] [V5 5/6] hw/acpi: report IOAPIC on IVRS David Kiarie
2016-09-20 17:40 ` [Qemu-devel] [V5 6/6] hw/iommu: share common code between IOMMUs David Kiarie
2016-09-30  4:52 ` [Qemu-devel] [V5 0/6] AMD IOMMU interrupt remapping David Kiarie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).