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

Ian Whitfield ian.whitfield at canonical.com
Wed Oct 30 15:50:13 UTC 2024


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 at canonical.com>
---
 debian.gcp-6.8/config/annotations | 9 +++++++++
 1 file changed, 9 insertions(+)

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'>
 
-- 
2.43.0




More information about the kernel-team mailing list