]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iommu/pages: Remove __iommu_alloc_pages()/__iommu_free_pages()
authorJason Gunthorpe <jgg@nvidia.com>
Tue, 8 Apr 2025 16:53:51 +0000 (13:53 -0300)
committerJoerg Roedel <jroedel@suse.de>
Thu, 17 Apr 2025 14:22:32 +0000 (16:22 +0200)
commit8360c03dd9331e60fc6f5dbe512a01a14e8bc3b3
treeb8d33b111bae7fbea3f5ddcde8e468868613a9d2
parenta96969a9157650c4cb345bd7323a8f9a3df232f4
iommu/pages: Remove __iommu_alloc_pages()/__iommu_free_pages()

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.

Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Mostafa Saleh <smostafa@google.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/3-v4-c8663abbb606+3f7-iommu_pages_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu-pages.h