RE: [PATCH v5 08/13] iommufd/selftest: Add mock_viommu_cache_invalidate

2024-10-29 Thread Tian, Kevin
> From: Nicolin Chen > Sent: Saturday, October 26, 2024 7:51 AM > > Similar to the coverage of cache_invalidate_user for iotlb invalidation, > add a device cache and a viommu_cache_invalidate function to test it out. > > Signed-off-by: Nicolin Chen Reviewed-by: Kevin Tian

[PATCH v5 08/13] iommufd/selftest: Add mock_viommu_cache_invalidate

2024-10-25 Thread Nicolin Chen
Similar to the coverage of cache_invalidate_user for iotlb invalidation, add a device cache and a viommu_cache_invalidate function to test it out. Signed-off-by: Nicolin Chen --- drivers/iommu/iommufd/iommufd_test.h | 25 + drivers/iommu/iommufd/selftest.c | 76 ++