diff options
author | Joao Martins <joao.m.martins@oracle.com> | 2023-10-24 16:51:05 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-10-24 17:58:44 +0300 |
commit | 266ce58989ba05e2a24460fdbf402d766c2e3870 (patch) | |
tree | 306f83d46769f067ff1962e07ee46df8a2a55530 /scripts/lib/kdoc/kdoc_files.py | |
parent | e04b23c8d4ed977dbab4a4159f9e4d9a878b5c65 (diff) | |
download | linux-266ce58989ba05e2a24460fdbf402d766c2e3870.tar.xz |
iommufd/selftest: Test IOMMU_HWPT_ALLOC_DIRTY_TRACKING
In order to selftest the iommu domain dirty enforcing implement the
mock_domain necessary support and add a new dev_flags to test that the
hwpt_alloc/attach_device fails as expected.
Expand the existing mock_domain fixture with a enforce_dirty test that
exercises the hwpt_alloc and device attachment.
Link: https://lore.kernel.org/r/20231024135109.73787-15-joao.m.martins@oracle.com
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions