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: 318f67ce1371 ("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
..
2017-11-06 18:05:35 +01:00
2017-10-19 15:38:07 +01:00
2016-10-04 13:28:07 +01:00
2017-10-27 16:03:53 +02:00
2017-11-24 11:28:56 +00:00
2017-10-15 05:54:43 +03:00
2017-10-26 14:23:08 -07:00
2017-08-01 17:27:33 +02:00
2017-11-22 15:28:37 +11:00
2017-10-19 15:38:07 +01:00
2017-08-02 18:30:13 -03:00
2017-10-27 16:03:54 +02:00
2017-11-13 14:33:29 +00:00
2017-10-31 17:25:37 +00:00
2017-09-21 16:34:27 +01:00
2017-10-15 05:54:43 +03:00
2017-12-01 19:05:58 +02:00
2017-10-31 18:00:03 -04:00
2017-10-23 10:50:02 +02:00
2017-11-20 13:39:48 +00:00
2017-10-15 05:54:43 +03:00
2017-07-14 12:04:42 +02:00
2017-10-15 05:54:43 +03:00
2017-10-27 16:03:54 +02:00
2017-10-27 16:03:54 +02:00
2017-09-14 15:52:10 +01:00
2017-07-14 17:59:42 +01:00
2017-10-27 16:04:28 +02:00
2017-11-20 13:47:49 +00:00
2017-10-27 16:03:54 +02:00
2017-11-28 11:54:50 +08:00
2017-09-01 11:54:24 -03:00
2017-10-15 05:54:40 +03:00
2017-10-27 16:03:54 +02:00
2017-11-16 17:46:53 +02:00
2017-11-16 17:46:53 +02:00
2017-11-16 17:46:53 +02:00
2017-12-04 11:31:22 +11:00
2017-11-24 10:52:05 +01:00
2017-12-05 12:38:31 +00:00
2017-10-15 05:54:43 +03:00
2017-10-27 16:03:54 +02:00
2017-01-16 17:52:35 +01:00
2017-10-31 17:25:36 +00:00
2017-10-27 16:04:27 +02:00
2017-10-31 11:50:51 +00:00
2017-09-27 11:35:59 +01:00
2017-11-15 06:47:35 -05:00
2017-10-27 16:04:27 +02:00
2017-10-27 16:04:27 +02:00
2017-10-23 10:05:28 +02:00
2017-12-13 10:19:33 -07:00
2017-12-01 19:05:58 +02:00
2017-10-15 05:54:43 +03:00
2017-11-05 14:52:10 +01:00
2017-07-07 11:10:03 -07:00
2017-10-27 16:04:27 +02:00
2017-08-30 18:23:25 +02:00