[PATCH 0/7] vfio: iommu_type1: Some fixes and optimization
From: Keqian Zhu
Date: Thu Dec 10 2020 - 02:36:34 EST
Hi folks,
This patch series aim to fix up or optimize some code about vfio
dirty log tracking.
patch 1: Optimize dirty log when unwind pin pages.
patch 2-3: Optimize promoting pinned_page_dirty_scope.
patch 4: Fix up dirty log missing when promote pinned_page_dirty_scope.
patch 5-7: Drop superfluous parameter "pgsize" of some functions.
Wish they improves the robustness of vfio dirty log tracking.
Thanks,
Keqian
Keqian Zhu (7):
vfio: iommu_type1: Clear added dirty bit when unwind pin
vfio: iommu_type1: Initially set the pinned_page_dirty_scope
vfio: iommu_type1: Make an explicit "promote" semantic
vfio: iommu_type1: Fix missing dirty page when promote pinned_scope
vfio: iommu_type1: Drop parameter "pgsize" of
vfio_dma_bitmap_alloc_all
vfio: iommu_type1: Drop parameter "pgsize" of vfio_iova_dirty_bitmap.
vfio: iommu_type1: Drop parameter "pgsize" of update_user_bitmap
drivers/vfio/vfio_iommu_type1.c | 108 +++++++++++++++++++-------------
1 file changed, 65 insertions(+), 43 deletions(-)
--
2.23.0