Skip to content

iommu: {map,unmap}_pages cleanup

Robin Murphy linux-arm-kernel linux-iommu 1 version Applied

Status from this message: Applied, thanks Robin.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9iommu/mediatek-v1: Update to {map,unmap}_pagesdrivers/iommu/mtk_iommu_v1.c+14 -160 replies
2/9iommu/sprd: Update to {map,unmap}_pagesdrivers/iommu/sprd-iommu.c+14 -110 replies
3/9iommu/mediatek: Update to {map,unmap}_pagesdrivers/iommu/mtk_iommu.c+8 -70 replies
4/9iommu/msm: Update to {map,unmap}_pagesdrivers/iommu/msm_iommu.c+11 -70 replies
5/9iommu/ipmmu-vmsa: Update to {map,unmap}_pagesdrivers/iommu/ipmmu-vmsa.c+9 -90 replies
6/9iommu/qcom: Update to {map,unmap}_pagesdrivers/iommu/arm/arm-smmu/qcom_iommu.c+8 -60 replies
7/9iommu/io-pgtable-arm: Remove map/unmapdrivers/iommu/io-pgtable-arm.c+15 -270 replies
8/9iommu/io-pgtable-arm-v7s: Remove map/unmapdrivers/iommu/io-pgtable-arm-v7s.c+15 -260 replies
9/9iommu/io-pgtable: Remove map/unmapinclude/linux/io-pgtable.h+0 -60 replies

Reviews trailers per patch

None of the 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchWill Deacon
SeriesA-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.36.1.dirty