RE: [PATCH v4 17/23] iommu/arm-smmu-v3-iommufd: Add vsmmu_alloc impl op

Tian, Kevin
2025-05-15T07:52:52Z

> From: Nicolin Chen <nicolinc@nvidia.com>
> Sent: Friday, May 9, 2025 11:03 AM
>
> An impl driver might want to allocate its own type of vIOMMU object or the
> standard IOMMU_VIOMMU_TYPE_ARM_SMMUV3 by setting up its own
> SW/HW bits, as
> the tegra241-cmdqv driver will add
> IOMMU_VIOMMU_TYPE_TEGRA241_CMDQV.
>
> Add a vsmmu_alloc op and prioritize it in arm_vsmmu_alloc().
>
> Reviewed-by: Pranjal Shrivastava <praan@google.com>
> Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>

Reviewed-by: Kevin Tian <kevin.tian@intel.com>