------- Comment From <email address hidden> 2024-07-01 04:49 EDT-------
For reference the the CONFIG_DMA_DEFAULT_DMA setting is relevant to s390 only
since upstream commit c76c067e488c ("s390/pci: Use dma-iommu layer").
This commit also includes the following hunk to default to CONFIG_DEFAULT_DMA_LAZY on s390x. Though I guess this wouldn't overwrite a pre-existing config value:
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index cd6727898b11..3199fd54b462 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -91,7 +91,7 @@ config IOMMU_DEBUGFS
choice
prompt "IOMMU default domain type"
depends on IOMMU_API
- default IOMMU_DEFAULT_DMA_LAZY if X86 || IA64
+ default IOMMU_DEFAULT_DMA_LAZY if X86 || IA64 || S390
default IOMMU_DEFAULT_DMA_STRICT
help
Choose the type of IOMMU domain used to manage DMA API usage by
The line has been modified since to drop IA64 but does contain S390 on current
upstream as well.
------- Comment From <email address hidden> 2024-07-01 04:49 EDT------- DMA_DEFAULT_ DMA setting is relevant to s390 only
For reference the the CONFIG_
since upstream commit c76c067e488c ("s390/pci: Use dma-iommu layer").
This commit also includes the following hunk to default to CONFIG_ DEFAULT_ DMA_LAZY on s390x. Though I guess this wouldn't overwrite a pre-existing config value:
diff --git a/drivers/ iommu/Kconfig b/drivers/ iommu/Kconfig .3199fd54b462 100644 iommu/Kconfig iommu/Kconfig DMA_LAZY if X86 || IA64 DMA_LAZY if X86 || IA64 || S390 DMA_STRICT
index cd6727898b11.
--- a/drivers/
+++ b/drivers/
@@ -91,7 +91,7 @@ config IOMMU_DEBUGFS
choice
prompt "IOMMU default domain type"
depends on IOMMU_API
- default IOMMU_DEFAULT_
+ default IOMMU_DEFAULT_
default IOMMU_DEFAULT_
help
Choose the type of IOMMU domain used to manage DMA API usage by
The line has been modified since to drop IA64 but does contain S390 on current
upstream as well.