]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iommufd/selftest: Test dirty tracking on PASID
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Thu, 2 Apr 2026 06:57:27 +0000 (14:57 +0800)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 2 Apr 2026 07:26:05 +0000 (09:26 +0200)
commitc9587216d991120c3cf546bcd708422b26334888
treef22276b313402c31ef7b1e5c1ba5add3f43f18e2
parentae2fafc19e7bfcdd00920888468546f35286e715
iommufd/selftest: Test dirty tracking on PASID

Add test case for dirty tracking on a domain attached to PASID, also
confirm attachment to PASID fail if device doesn't support dirty tracking.

Suggested-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Yi Liu <yi.l.liu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20260330101108.12594-5-zhenzhong.duan@intel.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
tools/testing/selftests/iommu/iommufd.c