qemu-patch-raspberry4/hw/vfio
Alexey Kardashevskiy c6e7958eb7 vfio/spapr: Allow fallback to SPAPR TCE IOMMU v1
The vfio_iommu_spapr_tce driver advertises kernel's support for
v1 and v2 IOMMU support, however it is not always possible to use
the requested IOMMU type. For example, a pseries host platform does not
support dynamic DMA windows so v2 cannot initialize and QEMU fails to
start.

This adds a fallback to the v1 IOMMU if v2 cannot be used.

Fixes: 318f67ce13 ("vfio: spapr: Add DMA memory preregistering (SPAPR IOMMU v2)")
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2017-12-13 10:19:33 -07:00
..
amd-xgbe.c sysbus: Set user_creatable=false by default on TYPE_SYS_BUS_DEVICE 2017-05-17 10:37:01 -03:00
calxeda-xgmac.c sysbus: Set user_creatable=false by default on TYPE_SYS_BUS_DEVICE 2017-05-17 10:37:01 -03:00
ccw.c s390x: improve error handling for SSCH and RSCH 2017-10-20 13:32:10 +02:00
common.c vfio/spapr: Allow fallback to SPAPR TCE IOMMU v1 2017-12-13 10:19:33 -07:00
Makefile.objs vfio/ccw: vfio based subchannel passthrough driver 2017-05-19 12:29:01 +02:00
pci-quirks.c pci: Add INTERFACE_CONVENTIONAL_PCI_DEVICE to Conventional PCI devices 2017-10-15 05:54:43 +03:00
pci.c pci: Add interface names to hybrid PCI devices 2017-10-15 05:54:42 +03:00
pci.h vfio/pci: Add NVIDIA GPUDirect Cliques support 2017-10-03 12:57:36 -06:00
platform.c vfio/platform: fix use of freed memory 2017-07-26 11:38:17 -06:00
spapr.c vfio, spapr: Fix levels calculation 2017-09-15 10:29:48 +10:00
trace-events trace-events: fix code style: print 0x before hex numbers 2017-08-01 12:13:07 +01:00