1
0
Files
linux/drivers
Alexey Kardashevskiy 930a42ded3 vfio/spapr_tce: Set window when adding additional groups to container
If a container already has a group attached, attaching a new group
should just program already created IOMMU tables to the hardware via
the iommu_table_group_ops::set_window() callback.

However commit 6f01cc692a ("vfio/spapr: Add a helper to create
default DMA window") did not just simplify the code but also removed
the set_window() calls in the case of attaching groups to a container
which already has tables so it broke VFIO PCI hotplug.

This reverts set_window() bits in tce_iommu_take_ownership_ddw().

Fixes: 6f01cc692a ("vfio/spapr: Add a helper to create default DMA window")
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2017-02-07 11:48:16 -07:00
..
2016-12-25 10:47:44 +01:00
2017-01-25 15:35:11 +05:30
2017-01-26 00:24:23 +01:00
2016-12-25 10:47:44 +01:00
2016-12-25 17:21:22 +01:00
2017-01-26 17:49:14 +02:00
2016-12-25 10:47:44 +01:00
2016-12-25 17:21:22 +01:00