[PATCH 3/3] iommu/arm-smmu-v3: Remove domain_alloc_paging()

Jason Gunthorpe jgg at nvidia.com
Mon Dec 9 15:21:57 PST 2024


On Mon, Dec 09, 2024 at 11:06:12PM +0000, Will Deacon wrote:
> On Thu, Dec 05, 2024 at 11:43:29AM -0400, Jason Gunthorpe wrote:
> > arm_smmu_domain_alloc_paging_flags() with a flags = 0 now does the same
> > thing as arm_smmu_domain_alloc_paging(), remove
> > arm_smmu_domain_alloc_paging().
> > 
> > Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>
> > ---
> >  drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 31 ---------------------
> >  1 file changed, 31 deletions(-)
> 
> Ha! I was reviewing the previous patch and about to reply asking why we
> couldn't just implement arm_smmu_domain_alloc_paging() as a wrapper
> around arm_smmu_domain_alloc_paging() with flags of 0.
> 
> Good thing I read ahead :)

Yes, the main point of the prior patch was to make this patch
possible :)

Jason



More information about the linux-arm-kernel mailing list