diff mbox series

[SRU,j:linux-gcp-6.8,v2,1/1] UBUNTU: gcp: Enable IOMMU Passthrough by default

Message ID 20241105162833.15921-2-ian.whitfield@canonical.com
State New
Headers show
Series Enable IOMMU Passthrough by default | expand

Commit Message

Ian Whitfield Nov. 5, 2024, 4:28 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2085904

This is a workaround for data-loss failures on C3-Metal, intended to
be reverted after a long-term fix to IOMMU.

Signed-off-by: Ian Whitfield <ian.whitfield@canonical.com>
---
 debian.gcp-6.8/config/annotations | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox series

Patch

diff --git a/debian.gcp-6.8/config/annotations b/debian.gcp-6.8/config/annotations
index ca5ed84c2bc9..a7e192536d80 100644
--- a/debian.gcp-6.8/config/annotations
+++ b/debian.gcp-6.8/config/annotations
@@ -5,6 +5,15 @@ 
 
 include "../../debian.gcp/config/annotations"
 
+CONFIG_IOMMU_DEFAULT_DMA_LAZY                   policy<{'amd64': 'n', 'arm64': 'n'}>
+CONFIG_IOMMU_DEFAULT_DMA_LAZY                   note<'LP:2085904'>
+
+CONFIG_IOMMU_DEFAULT_DMA_STRICT                 policy<{'amd64': 'n', 'arm64': 'n'}>
+CONFIG_IOMMU_DEFAULT_DMA_STRICT                 note<'LP:2085904'>
+
+CONFIG_IOMMU_DEFAULT_PASSTHROUGH                policy<{'amd64': 'y', 'arm64': 'y'}>
+CONFIG_IOMMU_DEFAULT_PASSTHROUGH                note<'LP:2085904'>
+
 CONFIG_RUST                                     policy<{'amd64': '-', 'arm64': '-'}>
 CONFIG_RUST                                     note<'TODO: update note'>