Re: [PATCH v3 21/21] iommu: Remove iommu_domain_alloc()

From: Jason Gunthorpe
Date: Wed Jun 19 2024 - 11:15:07 EST


On Mon, Jun 10, 2024 at 04:55:55PM +0800, Lu Baolu wrote:
> The iommu_domain_alloc() interface is no longer used in the tree anymore.
> Remove it to avoid dead code.
>
> There is increasing demand for supporting multiple IOMMU drivers, and this
> is the last bus-based thing standing in the way of that.
>
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> ---
> include/linux/iommu.h | 6 ------
> drivers/iommu/iommu.c | 36 ------------------------------------
> 2 files changed, 42 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason