]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iommu/s390: set appropriate IOTA region type
authorMatthew Rosato <mjrosato@linux.ibm.com>
Fri, 11 Apr 2025 20:24:29 +0000 (16:24 -0400)
committerJoerg Roedel <jroedel@suse.de>
Thu, 17 Apr 2025 14:43:10 +0000 (16:43 +0200)
commit83c1aec21064c762a2ee475f0fd19f5241de25bc
tree25bb4fc47b07c6bd231b5e965ad837a5b66b1549
parent8ffd015db85fea3e15a77027fda6c02ced4d2444
iommu/s390: set appropriate IOTA region type

When registering the I/O Translation Anchor, use the current table type
stored in the s390_domain to set the appropriate region type
indication.  For the moment, the table type will always be stored as
region third.

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-2-mjrosato@linux.ibm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/s390-iommu.c