aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <[email protected]>2017-02-07 06:26:57 +0000
committerAlex Williamson <[email protected]>2017-02-07 18:48:16 +0000
commit930a42ded3fede7ca3acafc9153f4f2d0f56a92c (patch)
tree7702a14229684c63fd7de1caa8440f17e5fad392 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentLinux 4.10-rc7 (diff)
downloadkernel-930a42ded3fede7ca3acafc9153f4f2d0f56a92c.tar.gz
kernel-930a42ded3fede7ca3acafc9153f4f2d0f56a92c.zip
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 6f01cc692a16 ("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: 6f01cc692a16 ("vfio/spapr: Add a helper to create default DMA window") Signed-off-by: Alexey Kardashevskiy <[email protected]> Reviewed-by: David Gibson <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions