[PATCH v2 11/14] iommu: Deprecate viommu_alloc op
Jason Gunthorpe
jgg at nvidia.com
Mon Jun 16 05:49:48 PDT 2025
On Fri, Jun 13, 2025 at 11:35:23PM -0700, Nicolin Chen wrote:
> To ease the for-driver iommufd APIs, get_viommu_size and viommu_init ops
> are introduced. Now, those existing vIOMMU supported drivers implemented
> these two ops, replacing the viommu_alloc one. So, there is no use of it.
>
> Remove it from the headers and the viommu core.
>
> Suggested-by: Jason Gunthorpe <jgg at nvidia.com>
> Reviewed-by: Kevin Tian <kevin.tian at intel.com>
> Signed-off-by: Nicolin Chen <nicolinc at nvidia.com>
> ---
> include/linux/iommu.h | 11 -----------
> include/linux/iommufd.h | 18 ------------------
> drivers/iommu/iommufd/viommu.c | 20 +++++---------------
> 3 files changed, 5 insertions(+), 44 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
Jason
More information about the linux-arm-kernel
mailing list