summaryrefslogtreecommitdiff
path: root/tstamping.c
AgeCommit message (Expand)AuthorFilesLines
2013-07-09configure: fix multiple issues in build configurationDaniel Borkmann1-8/+0
2013-06-04tstamping: add header file for packet timestampingDaniel Borkmann1-9/+2
2013-06-04xutils: eliminate xutils, move rest to epoll2Daniel Borkmann1-1/+0
2013-06-04xutils: break out string handling and lockingDaniel Borkmann1-0/+1
2013-05-13ring: break out timestamping since not directly relatedDaniel Borkmann1-0/+53
id=930a42ded3fede7ca3acafc9153f4f2d0f56a92c&id2=d5adbfcd5f7bcc6fa58a41c5c5ada0e5c826ce2c'>diff)
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 <aik@ozlabs.ru> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat
-rw-r--r--drivers/vfio/vfio_iommu_spapr_tce.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/vfio/vfio_iommu_spapr_tce.c b/drivers/vfio/vfio_iommu_spapr_tce.c