[PATCH v5 08/13] iommufd/selftest: Prepare for mock_viommu_alloc_domain_nested()

Jason Gunthorpe jgg at nvidia.com
Tue Oct 29 08:30:55 PDT 2024


On Fri, Oct 25, 2024 at 04:49:48PM -0700, Nicolin Chen wrote:
> A nested domain now can be allocated for a parent domain for a vIOMMU
> object. Rework the existing allocators to prepare for the latter case.
> 
> Signed-off-by: Nicolin Chen <nicolinc at nvidia.com>
> ---
>  drivers/iommu/iommufd/selftest.c | 89 ++++++++++++++++++--------------
>  1 file changed, 50 insertions(+), 39 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>

Jason



More information about the linux-arm-kernel mailing list