qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v1 0/3] [RFC] get real IOMMU information from VFIO IOMMU
@ 2019-01-09 12:41 Pierre Morel
  2019-01-09 12:41 ` [Qemu-devel] [PATCH v1 1/3] vfio: Linux header placeholder Pierre Morel
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Pierre Morel @ 2019-01-09 12:41 UTC (permalink / raw)
  To: walling
  Cc: borntraeger, cohuck, rth, david, qemu-s390x, qemu-devel, pasic,
	thuth

In the Z-Architecture, the IOMMU information may change on a device
basis.
until this patch series we used hardcoded values to define the
IOMMU aperture we provide to the guest during PCI enumeration.

Let's ask the host about the IOMMU specific configuration using
VFIO capabilities.

NOTES:
1- You will need the according Linux patch to test this.

2- I am really not happy to add S390 dedicated code in the
   VFIO common code, as do SPAPR, but I did not find a better
   solution.
   Any idea?

Pierre Morel (3):
  vfio: Linux header placeholder
  vfio/pci: Get real IOMMU information from container
  s390x/pci: Reporting the host aperture to the guest

 hw/s390x/s390-pci-bus.c       |  2 +-
 hw/s390x/s390-pci-bus.h       |  3 ++
 hw/s390x/s390-pci-inst.c      | 20 ++++++++++--
 hw/vfio/common.c              | 75 +++++++++++++++++++++++++++++++++----------
 include/hw/vfio/vfio-common.h |  3 ++
 linux-headers/linux/vfio.h    | 65 +++++++++++++++++++++++++++++++++++--
 6 files changed, 144 insertions(+), 24 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2019-01-13 14:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-09 12:41 [Qemu-devel] [PATCH v1 0/3] [RFC] get real IOMMU information from VFIO IOMMU Pierre Morel
2019-01-09 12:41 ` [Qemu-devel] [PATCH v1 1/3] vfio: Linux header placeholder Pierre Morel
2019-01-09 12:41 ` [Qemu-devel] [PATCH v1 2/3] vfio/pci: Get real IOMMU information from container Pierre Morel
2019-01-09 12:41 ` [Qemu-devel] [PATCH v1 3/3] s390x/pci: Reporting the host aperture to the guest Pierre Morel
2019-01-13 14:29 ` [Qemu-devel] [PATCH v1 0/3] [RFC] get real IOMMU information from VFIO IOMMU 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).