Skip to content

iommu/io-pgtable-arm: Fix for stage-2 map/unmap

Mostafa Saleh linux-arm-kernel linux-iommu lkml 1 version Applied

Status from this message: Applied to will (for-joerg/arm-smmu/updates), thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2iommu/io-pgtable-arm: Fix stage-2 map/umap for concatenated tablesdrivers/iommu/io-pgtable-arm.c+14 -33 replies
2/2iommu/io-pgtable-arm: Add self test for the last page in the IASdrivers/iommu/io-pgtable-arm.c+17 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] iommu/io-pgtable-arm: Fix for stage-2 map/unmap

The first patch is a bug fix for stage-2 handling of concatenated pgds that can break map/unmap for some cases.

The second patch is adding these cases to selfs tests.

While looking at that, I also noticed that the concated page tables support is minimal and not supported for many cases (level = 0, 2, 3), I wrote some code to support that so I can test further, I can send it later in another patch.

Mostafa Saleh (2):
iommu/io-pgtable-arm: Fix stage-2 map/umap for concatenated tables iommu/io-pgtable-arm: Add self test for the last page in the IAS

 drivers/iommu/io-pgtable-arm.c | 34 +++++++++++++++++++++++++++++++---
 1 file changed, 31 insertions(+), 3 deletions(-)
Signature · 1 line
2.47.0.105.g07ac214952-goog