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

Robin Murphy robin.murphy at arm.com
Tue Nov 15 07:26:34 PST 2022


Hi all,

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(-)

-- 
2.36.1.dirty




More information about the linux-arm-kernel mailing list