iommufd/selftest: Test IOMMU_HWPT_GET_DIRTY_BITMAP_NO_CLEAR flag
mainline inclusion from mainline-v6.7-rc1 commit 0795b305da8902e7d092f90bf9a1a2c98f34b1db category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8Y6AM CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?0795b305da8902e7d092f90bf9a1a2c98f34b1db -------------------------------- Change test_mock_dirty_bitmaps() to pass a flag where it specifies the flag under test. The test does the same thing as the GET_DIRTY_BITMAP regular test. Except that it tests whether the dirtied bits are fetched all the same a second time, as opposed to observing them cleared. Intel-SIG: 0795b305da89 iommufd/selftest: Test IOMMU_HWPT_GET_DIRTY_BITMAP_NO_CLEAR flag Backport IOMMUFD Dirty Tracking Link: https://lore.kernel.org/r/20231024135109.73787-19-joao.m.martins@oracle.com Signed-off-by:Joao Martins <joao.m.martins@oracle.com> Signed-off-by:
Jason Gunthorpe <jgg@nvidia.com> [ jz: amend commit log ] Signed-off-by:
Jason Zeng <jason.zeng@intel.com>
Loading
Please sign in to comment