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

From: Mostafa Saleh
Date: Thu Oct 24 2024 - 12:25:58 EST


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

--
2.47.0.105.g07ac214952-goog