mirror_ubuntu-kernels/tools/testing/selftests/iommu
Nicolin Chen 55a01657cb iommufd/selftest: Add coverage for IOMMU_HWPT_ALLOC with nested HWPTs
The IOMMU_HWPT_ALLOC ioctl now supports passing user_data to allocate a
user-managed domain for nested HWPTs. Add its coverage for that. Also,
update _test_cmd_hwpt_alloc() and add test_cmd/err_hwpt_alloc_nested().

Link: https://lore.kernel.org/r/20231026043938.63898-11-yi.l.liu@intel.com
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2023-10-26 11:15:57 -03:00
..
.gitignore iommufd: Add a selftest 2022-11-30 20:16:49 -04:00
config iommufd: Add a selftest 2022-11-30 20:16:49 -04:00
iommufd_fail_nth.c iommufd/selftest: Add coverage for IOMMU_HWPT_ALLOC with nested HWPTs 2023-10-26 11:15:57 -03:00
iommufd_utils.h iommufd/selftest: Add coverage for IOMMU_HWPT_ALLOC with nested HWPTs 2023-10-26 11:15:57 -03:00
iommufd.c iommufd/selftest: Add coverage for IOMMU_HWPT_ALLOC with nested HWPTs 2023-10-26 11:15:57 -03:00
Makefile selftests: iommu: Use installed kernel headers search path 2023-02-13 09:09:46 -07:00