From 77e530c1a864c601b96622db03bc1f38e51155f1 Mon Sep 17 00:00:00 2001 From: Andrea Righi Date: Wed, 21 Feb 2024 09:46:24 +0100 Subject: [PATCH] UBUNTU: [Config] enable Intel DMA remapping by default BugLink: https://bugs.launchpad.net/bugs/1951440 We have tried in the past to enable CONFIG_INTEL_IOMMU_DEFAULT_ON and CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON (starting with Jammy), but there were multiple issues (especially with old hardware), so we ended up disabling these options afterwards, see LP: #1971699. Considering that IOMMU is enabled by default in upstream kernels, probably most of these issues are solved now (or old hardware has been decommissioned). Moreover, having this enabled by default can prevent potential issues with modern hardware and drivers (see for example LP #1958004). Acked-by: Philip Cox Acked-by: Andrei Gherzan Signed-off-by: Andrea Righi --- debian.master/config/annotations | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/debian.master/config/annotations b/debian.master/config/annotations index 4dc32cb882c4..ba0ac9639e31 100644 --- a/debian.master/config/annotations +++ b/debian.master/config/annotations @@ -321,8 +321,11 @@ CONFIG_INTEL_ATOMISP note<'LP: #2017444'> CONFIG_INTEL_ATOMISP2_PM policy<{'amd64': 'm'}> CONFIG_INTEL_ATOMISP2_PM note<'LP: #2017444'> -CONFIG_INTEL_IOMMU_DEFAULT_ON policy<{'amd64': 'n'}> -CONFIG_INTEL_IOMMU_DEFAULT_ON note<'LP: #1971699'> +CONFIG_INTEL_IOMMU_DEFAULT_ON policy<{'amd64': 'y'}> +CONFIG_INTEL_IOMMU_DEFAULT_ON note<'LP: #1951440'> + +CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON policy<{'amd64': 'y'}> +CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON note<'LP: #1951440'> CONFIG_IOMMU_DEBUGFS policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'ppc64el': 'n', 'riscv64': 'n', 's390x': 'n'}> CONFIG_IOMMU_DEBUGFS note<'LP: #1861057'>