diff mbox series

[jammy:linux-aws] UBUNTU: [Config] aws: CONFIG_IOMMU_DEFAULT_DMA_LAZY=y for arm64

Message ID 20221028153605.19483-2-tim.gardner@canonical.com
State New
Headers show
Series [jammy:linux-aws] UBUNTU: [Config] aws: CONFIG_IOMMU_DEFAULT_DMA_LAZY=y for arm64 | expand

Commit Message

Tim Gardner Oct. 28, 2022, 3:36 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1806488

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
---
 debian.aws/config/amd64/config.common.amd64 | 2 --
 debian.aws/config/annotations               | 5 +++++
 debian.aws/config/arm64/config.common.arm64 | 2 --
 debian.aws/config/config.common.ubuntu      | 2 ++
 4 files changed, 7 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/debian.aws/config/amd64/config.common.amd64 b/debian.aws/config/amd64/config.common.amd64
index 1604e74a7443..edbf03f7bf75 100644
--- a/debian.aws/config/amd64/config.common.amd64
+++ b/debian.aws/config/amd64/config.common.amd64
@@ -23,8 +23,6 @@  CONFIG_GPIO_GENERIC_PLATFORM=m
 CONFIG_HIBERNATION=y
 CONFIG_I2C_AMD_MP2=m
 # CONFIG_I2C_SLAVE is not set
-CONFIG_IOMMU_DEFAULT_DMA_LAZY=y
-# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not set
 CONFIG_KVM=m
 CONFIG_MII=m
 CONFIG_MMC_BLOCK=m
diff --git a/debian.aws/config/annotations b/debian.aws/config/annotations
index e6c252dfee90..e73e032f630d 100644
--- a/debian.aws/config/annotations
+++ b/debian.aws/config/annotations
@@ -4,6 +4,11 @@ 
 
 include ../../debian.master/config/annotations
 
+CONFIG_IOMMU_DEFAULT_DMA_STRICT                    policy<{'amd64': 'n', 'arm64': 'n'}>
+CONFIG_IOMMU_DEFAULT_DMA_STRICT                    note<LP: #1806488>
+CONFIG_IOMMU_DEFAULT_DMA_LAZY                      policy<{'amd64': 'y', 'arm64': 'y'}>
+CONFIG_IOMMU_DEFAULT_DMA_LAZY                      note<LP: #1806488>
+
 CONFIG_NITRO_ENCLAVES                              policy<{'amd64': 'm', 'arm64': 'm'}>
 CONFIG_ACCESSIBILITY                               policy<{'amd64': 'n', 'arm64': 'n'}> 
 CONFIG_SPEAKUP                                     policy<{'amd64': '-', 'arm64': '-'}> 
diff --git a/debian.aws/config/arm64/config.common.arm64 b/debian.aws/config/arm64/config.common.arm64
index 4281d6bd96dc..04d3e12ce46c 100644
--- a/debian.aws/config/arm64/config.common.arm64
+++ b/debian.aws/config/arm64/config.common.arm64
@@ -23,8 +23,6 @@  CONFIG_GPIO_GENERIC_PLATFORM=y
 # CONFIG_HIBERNATION is not set
 # CONFIG_I2C_AMD_MP2 is not set
 CONFIG_I2C_SLAVE=y
-# CONFIG_IOMMU_DEFAULT_DMA_LAZY is not set
-CONFIG_IOMMU_DEFAULT_DMA_STRICT=y
 CONFIG_KVM=y
 CONFIG_MII=y
 CONFIG_MMC_BLOCK=y
diff --git a/debian.aws/config/config.common.ubuntu b/debian.aws/config/config.common.ubuntu
index c856fa623dbf..559a52b26c0e 100644
--- a/debian.aws/config/config.common.ubuntu
+++ b/debian.aws/config/config.common.ubuntu
@@ -4653,6 +4653,8 @@  CONFIG_IOASID=y
 CONFIG_IOMMU_API=y
 # CONFIG_IOMMU_DEBUG is not set
 # CONFIG_IOMMU_DEBUGFS is not set
+CONFIG_IOMMU_DEFAULT_DMA_LAZY=y
+# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not set
 # CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set
 CONFIG_IOMMU_DMA=y
 CONFIG_IOMMU_HELPER=y