[PATCH v2 0/6] iommu/s390: support additional table regions

From: Matthew Rosato
Date: Fri Jan 24 2025 - 15:18:46 EST


The series extends the maximum table size allowed by s390-iommu by
increasing the number of table regions supported. It also adds logic to
construct the table use the minimum number of regions based upon aperture
calculation.

Changes for v2:
- rebase onto 6.13
- remove 'iommu/s390: add basic routines for region 1st and 2nd tables'
and put routines in first patch that uses each. No functional change.


Matthew Rosato (6):
iommu/s390: add initial fields to track table size
s390/pci: set appropriate IOTA region type
iommu/s390: support cleanup of additional table regions
iommu/s390: support iova_to_phys for additional table regions
iommu/s390: support map/unmap for additional table regions
iommu/s390: allow larger region tables

arch/s390/include/asm/pci.h | 2 +
arch/s390/include/asm/pci_dma.h | 3 +
arch/s390/pci/pci.c | 17 +-
drivers/iommu/s390-iommu.c | 289 +++++++++++++++++++++++++++++---
4 files changed, 285 insertions(+), 26 deletions(-)

--
2.48.1