iommufd/selftest: Cover domain unmap with huge pages and access
authorJason Gunthorpe <jgg@nvidia.com>
Fri, 31 Mar 2023 15:32:27 +0000 (12:32 -0300)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 4 Apr 2023 16:11:24 +0000 (13:11 -0300)
commit62e37c86bf0718e1ec0156c7a88a43ced6cdf201
tree547cc5f2b8c4254c3d55f77fe0955226d21137cf
parent692d42d411b7db6a76382537fccbee3a12a2bcdb
iommufd/selftest: Cover domain unmap with huge pages and access

Inspired by the syzkaller reproducer check the batch carry path with a
simple test.

Link: https://lore.kernel.org/r/4-v1-ceab6a4d7d7a+94-iommufd_syz_jgg@nvidia.com
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
tools/testing/selftests/iommu/iommufd.c