[PATCH 0/3] iommu/io-pgtable-arm: iommu-pages and cleanup

Mostafa Saleh posted 3 patches 4 weeks, 1 day ago
drivers/iommu/io-pgtable-arm.c | 88 +++++++++++++++++++++++-----------
1 file changed, 61 insertions(+), 27 deletions(-)
[PATCH 0/3] iommu/io-pgtable-arm: iommu-pages and cleanup
Posted by Mostafa Saleh 4 weeks, 1 day ago
This is a small cleanup coming from the pKVM SMMUv3 support [1].
However, they are not pKVM specific and useful in general.

The first patch is to fix a theoretical issues with alloc/free size.
The second patch is the main one to convert the code to iommu-pages.
The third patch is a cleanup to use address conversion consistently.

[1] https://lore.kernel.org/linux-iommu/20260501111928.259252-1-smostafa@google.com/

Mostafa Saleh (3):
  iommu/io-pgtable-arm: Use consistent sizes for page allocation and
    freeing
  iommu/io-pgtable-arm: Rework to use the iommu-pages API
  iommu/io-pgtable-arm: Use address conversion consistently

 drivers/iommu/io-pgtable-arm.c | 88 +++++++++++++++++++++++-----------
 1 file changed, 61 insertions(+), 27 deletions(-)

-- 
2.54.0.563.g4f69b47b94-goog
Re: [PATCH 0/3] iommu/io-pgtable-arm: iommu-pages and cleanup
Posted by Jörg Rödel 3 weeks, 3 days ago
On Wed, May 13, 2026 at 09:52:00PM +0000, Mostafa Saleh wrote:
> Mostafa Saleh (3):
>   iommu/io-pgtable-arm: Use consistent sizes for page allocation and
>     freeing
>   iommu/io-pgtable-arm: Rework to use the iommu-pages API
>   iommu/io-pgtable-arm: Use address conversion consistently
> 
>  drivers/iommu/io-pgtable-arm.c | 88 +++++++++++++++++++++++-----------
>  1 file changed, 61 insertions(+), 27 deletions(-)

Applied, thanks.