linux-stable/drivers/iommu/iommufd
Joao Martins 7adf267d66 iommufd/selftest: Test IOMMU_HWPT_SET_DIRTY_TRACKING
Change mock_domain to supporting dirty tracking and add tests to exercise
the new SET_DIRTY_TRACKING API in the iommufd_dirty_tracking selftest
fixture.

Link: https://lore.kernel.org/r/20231024135109.73787-16-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>
2023-10-24 11:58:44 -03:00
..
device.c iommufd: Add capabilities to IOMMU_GET_HW_INFO 2023-10-24 11:58:43 -03:00
double_span.h
hw_pagetable.c iommufd: Add a flag to skip clearing of IOPTE dirty 2023-10-24 11:58:43 -03:00
io_pagetable.c iommufd: Add a flag to skip clearing of IOPTE dirty 2023-10-24 11:58:43 -03:00
io_pagetable.h
ioas.c iommu/iommufd: Pass iommufd_ctx pointer in iommufd_get_ioas() 2023-03-29 16:52:41 -03:00
iommufd_private.h iommufd: Add IOMMU_HWPT_GET_DIRTY_BITMAP 2023-10-24 11:58:43 -03:00
iommufd_test.h iommufd/selftest: Expand mock_domain with dev_flags 2023-10-24 11:58:44 -03:00
iova_bitmap.c iommufd/iova_bitmap: Move symbols to IOMMUFD namespace 2023-10-24 11:58:42 -03:00
Kconfig vfio: Compile vfio_group infrastructure optionally 2023-07-25 10:20:50 -06:00
main.c iommufd: Add IOMMU_HWPT_GET_DIRTY_BITMAP 2023-10-24 11:58:43 -03:00
Makefile vfio: Move iova_bitmap into iommufd 2023-10-24 11:58:42 -03:00
pages.c iommufd: Set end correctly when doing batch carry 2023-07-27 11:27:20 -03:00
selftest.c iommufd/selftest: Test IOMMU_HWPT_SET_DIRTY_TRACKING 2023-10-24 11:58:44 -03:00
vfio_compat.c vfio: align capability structures 2023-08-17 12:17:44 -06:00