mbox series

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

Message ID 20241024162516.2005652-1-smostafa@google.com (mailing list archive)
Headers show
Series iommu/io-pgtable-arm: Fix for stage-2 map/unmap | expand

Message

Mostafa Saleh Oct. 24, 2024, 4:25 p.m. UTC
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(-)