[PATCH v3 03/23] iommu/pages: Remove __iommu_alloc_pages()/__iommu_free_pages()

Baolu Lu baolu.lu at linux.intel.com
Tue Feb 25 22:25:40 PST 2025


On 2/26/25 03:39, Jason Gunthorpe wrote:
> These were only used by tegra-smmu and leaked the struct page out of the
> API. Delete them since tega-smmu has been converted to the other APIs.
> 
> In the process flatten the call tree so we have fewer one line functions
> calling other one line functions.. iommu_alloc_pages_node() is the real
> allocator and everything else can just call it directly.
> 
> Signed-off-by: Jason Gunthorpe<jgg at nvidia.com>

Reviewed-by: Lu Baolu <baolu.lu at linux.intel.com>



More information about the Linux-rockchip mailing list