]> www.infradead.org Git - users/willy/xarray.git/commit
iommu/s390: support iova_to_phys for additional table regions
authorMatthew Rosato <mjrosato@linux.ibm.com>
Fri, 11 Apr 2025 20:24:31 +0000 (16:24 -0400)
committerJoerg Roedel <jroedel@suse.de>
Thu, 17 Apr 2025 14:43:11 +0000 (16:43 +0200)
commit1fe3f3cad530981e8ff36cefc19c8534bfd401b3
tree56476517a6252b29114f3d555f386d1ece044090
parenta2392b8f1ffc26ac4d9fc5cbf081e91a2e39ca71
iommu/s390: support iova_to_phys for additional table regions

The origin_type of the dma_table is used to determine how many table
levels must be traversed for the translation.

Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
Tested-by: Niklas Schnelle <schnelle@linux.ibm.com>
Link: https://lore.kernel.org/r/20250411202433.181683-4-mjrosato@linux.ibm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
arch/s390/include/asm/pci_dma.h
drivers/iommu/s390-iommu.c