qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC 0/2] Explicit SID for IOAPIC
@ 2016-08-09 14:32 David Kiarie
  2016-08-09 14:32 ` [Qemu-devel] [RFC 1/2] hw/msi: Allow platform devices to use explicit SID David Kiarie
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: David Kiarie @ 2016-08-09 14:32 UTC (permalink / raw)
  To: qemu-devel
  Cc: jan.kiszka, valentine.sinitsyn, mst, pbonzini, ehabkost,
	peter.maydell, David Kiarie

IOMMU require platform device like IOAPIC and possibly HPET to make
interrupt requests using explicit SIDs which the currently don't.

This patches modify x86 code such that an MSIroute entry is affiliated with 
a requester ID and, if present, a PCI device. This change doesn't seem
have any side effects as far as I can tell.

David Kiarie (2):
  hw/msi: Allow platform devices to use explicit SID
  hw/i386: enforce SID verification

 hw/i386/intel_iommu.c             | 82 ++++++++++++++++++++-------------------
 hw/i386/kvm/pci-assign.c          | 12 ++++--
 hw/intc/ioapic.c                  | 28 +++++++++++--
 hw/misc/ivshmem.c                 |  6 ++-
 hw/vfio/pci.c                     |  6 ++-
 hw/virtio/virtio-pci.c            |  6 ++-
 include/hw/i386/ioapic_internal.h |  1 +
 include/hw/i386/x86-iommu.h       |  1 +
 include/sysemu/kvm.h              |  7 ++--
 kvm-all.c                         | 10 +++--
 target-i386/kvm.c                 | 15 ++++---
 11 files changed, 108 insertions(+), 66 deletions(-)

-- 
2.1.4

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

end of thread, other threads:[~2016-08-10  7:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-09 14:32 [Qemu-devel] [RFC 0/2] Explicit SID for IOAPIC David Kiarie
2016-08-09 14:32 ` [Qemu-devel] [RFC 1/2] hw/msi: Allow platform devices to use explicit SID David Kiarie
2016-08-10  5:41   ` Peter Xu
2016-08-10  6:35     ` David Kiarie
2016-08-10  7:23       ` Peter Xu
2016-08-09 14:32 ` [Qemu-devel] [RFC 2/2] hw/i386: enforce SID verification David Kiarie
2016-08-09 18:41   ` Valentine Sinitsyn
2016-08-09 18:46     ` David Kiarie
2016-08-10  5:49   ` Peter Xu
2016-08-10  6:30     ` David Kiarie
2016-08-10  7:09       ` Peter Xu
2016-08-09 14:39 ` [Qemu-devel] [RFC 0/2] Explicit SID for IOAPIC no-reply
2016-08-09 14:39 ` no-reply

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).