diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2022-09-24 13:33:37 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-09-24 13:49:47 +0200 |
commit | f08f7e88c99e8f17781945ddfbb0859f64c3a414 (patch) | |
tree | cfd2360381351e73b7a392b462f29572d52468ab /target/linux/qoriq | |
parent | 579703f38c14b9441e2a28529c9883b311410f3e (diff) | |
download | upstream-f08f7e88c99e8f17781945ddfbb0859f64c3a414.tar.gz upstream-f08f7e88c99e8f17781945ddfbb0859f64c3a414.tar.bz2 upstream-f08f7e88c99e8f17781945ddfbb0859f64c3a414.zip |
kernel: Move some IOMMU options to generic
This adds some missing IOMMU related options for x86/64 and moves some
of them to generic for all targets.
On x86 IOMMU_DEFAULT_DMA_LAZY is used by default, on all other platforms
IOMMU_DEFAULT_DMA_STRICT is the default. we just follow the default
kernel configuration here.
Fixes: 8fea4a102ccd ("x86/64: enable IOMMU support")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/qoriq')
-rw-r--r-- | target/linux/qoriq/config-5.10 | 1 | ||||
-rw-r--r-- | target/linux/qoriq/config-5.15 | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/target/linux/qoriq/config-5.10 b/target/linux/qoriq/config-5.10 index 2d49eeb9a1..5bf31de3ea 100644 --- a/target/linux/qoriq/config-5.10 +++ b/target/linux/qoriq/config-5.10 @@ -177,7 +177,6 @@ CONFIG_INITRAMFS_SOURCE="" CONFIG_INPUT=y CONFIG_IOMMU_API=y # CONFIG_IOMMU_DEBUGFS is not set -# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set CONFIG_IOMMU_HELPER=y CONFIG_IOMMU_SUPPORT=y CONFIG_IRQCHIP=y diff --git a/target/linux/qoriq/config-5.15 b/target/linux/qoriq/config-5.15 index e607501dbc..ef6442a1b1 100644 --- a/target/linux/qoriq/config-5.15 +++ b/target/linux/qoriq/config-5.15 @@ -183,9 +183,7 @@ CONFIG_INITRAMFS_SOURCE="" CONFIG_INPUT=y CONFIG_IOMMU_API=y # CONFIG_IOMMU_DEBUGFS is not set -# CONFIG_IOMMU_DEFAULT_DMA_LAZY is not set CONFIG_IOMMU_DEFAULT_DMA_STRICT=y -# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set CONFIG_IOMMU_HELPER=y CONFIG_IOMMU_SUPPORT=y CONFIG_IRQCHIP=y |