[PATCH 0/9] iommu: {map,unmap}_pages cleanup

Will Deacon will at kernel.org
Fri Nov 18 06:41:53 PST 2022


On Tue, Nov 15, 2022 at 03:26:34PM +0000, Robin Murphy wrote:
> Here's a couple more strands of cleanup along a common theme. With the
> original pgsize_bitmap trick for multi-page mappings long gone from
> Intel and now getting cleaned up from s390 as well, the first two
> patches here convert the remaining instances of that to the proper new
> multi-page interfaces. The rest then convert the remaining users of the
> io-pgtable API, so we can clean up the old interfaces entirely at that
> level.
> 
> Cheers,
> Robin.
> 
> 
> Robin Murphy (9):
>   iommu/mediatek-v1: Update to {map,unmap}_pages
>   iommu/sprd: Update to {map,unmap}_pages
>   iommu/mediatek: Update to {map,unmap}_pages
>   iommu/msm: Update to {map,unmap}_pages
>   iommu/ipmmu-vmsa: Update to {map,unmap}_pages
>   iommu/qcom: Update to {map,unmap}_pages
>   iommu/io-pgtable-arm: Remove map/unmap
>   iommu/io-pgtable-arm-v7s: Remove map/unmap
>   iommu/io-pgtable: Remove map/unmap
> 
>  drivers/iommu/arm/arm-smmu/qcom_iommu.c | 14 +++++----
>  drivers/iommu/io-pgtable-arm-v7s.c      | 41 +++++++++---------------
>  drivers/iommu/io-pgtable-arm.c          | 42 +++++++++----------------
>  drivers/iommu/ipmmu-vmsa.c              | 18 +++++------
>  drivers/iommu/msm_iommu.c               | 18 ++++++-----
>  drivers/iommu/mtk_iommu.c               | 15 ++++-----
>  drivers/iommu/mtk_iommu_v1.c            | 30 +++++++++---------
>  drivers/iommu/sprd-iommu.c              | 25 ++++++++-------
>  include/linux/io-pgtable.h              |  6 ----
>  9 files changed, 94 insertions(+), 115 deletions(-)

Thanks for doing this. For the lot:

Acked-by: Will Deacon <will at kernel.org>

Will



More information about the linux-arm-kernel mailing list