[PATCH 0/5] vfio/iommu_type1: Some fixes about dirty tracking

From: Keqian Zhu
Date: Thu Jan 07 2021 - 04:30:13 EST


Hi,

In patch series[1], I put forward some fixes and optimizations for
vfio_iommu_type1. This extracts and improves the fix part of it.

[1] https://lore.kernel.org/linux-iommu/20201210073425.25960-1-zhukeqian1@xxxxxxxxxx/T/#t

Thanks,
Keqian

Keqian Zhu (5):
vfio/iommu_type1: Fixes vfio_dma_populate_bitmap to avoid dirty lose
vfio/iommu_type1: Populate dirty bitmap for new vfio_dma
vfio/iommu_type1: Populate dirty bitmap when attach group
vfio/iommu_type1: Carefully use unmap_unpin_all during dirty tracking
vfio/iommu_type1: Move sanity_check_pfn_list to unmap_unpin_all

drivers/vfio/vfio_iommu_type1.c | 107 +++++++++++++++++++++-----------
1 file changed, 72 insertions(+), 35 deletions(-)

--
2.19.1