Re: [PATCH v3 09/11] iommufd/selftest: Add IOMMU_VIOMMU_ALLOC test coverage

2024-10-21 Thread Nicolin Chen
On Mon, Oct 21, 2024 at 07:30:57PM +1100, Alexey Kardashevskiy wrote: > On 10/10/24 03:38, Nicolin Chen wrote: > > Add a new iommufd_viommu FIXTURE and setup it up with a vIOMMU object. > > > > Any new vIOMMU feature will be added as a TEST_F under that. > > > > Signed-off-by: Nicolin Chen > > -

Re: [PATCH v3 09/11] iommufd/selftest: Add IOMMU_VIOMMU_ALLOC test coverage

2024-10-21 Thread Alexey Kardashevskiy
On 10/10/24 03:38, Nicolin Chen wrote: Add a new iommufd_viommu FIXTURE and setup it up with a vIOMMU object. Any new vIOMMU feature will be added as a TEST_F under that. Signed-off-by: Nicolin Chen --- tools/testing/selftests/iommu/iommufd_utils.h | 28 +++ tools/testing/selftests/iomm

[PATCH v3 09/11] iommufd/selftest: Add IOMMU_VIOMMU_ALLOC test coverage

2024-10-09 Thread Nicolin Chen
Add a new iommufd_viommu FIXTURE and setup it up with a vIOMMU object. Any new vIOMMU feature will be added as a TEST_F under that. Signed-off-by: Nicolin Chen --- tools/testing/selftests/iommu/iommufd_utils.h | 28 +++ tools/testing/selftests/iommu/iommufd.c | 84 +++