]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
UBUNTU: [Config] disable Intel DMA remapping options by default
authorAndrea Righi <andrea.righi@canonical.com>
Thu, 5 May 2022 12:34:59 +0000 (14:34 +0200)
committerAndrea Righi <andrea.righi@canonical.com>
Thu, 9 Mar 2023 14:57:39 +0000 (15:57 +0100)
BugLink: https://bugs.launchpad.net/bugs/1971699
It seems that enabling IOMMU can cause some weird gfx problems, see for
example:

 https://bugs.launchpad.net/bugs/1971146
 https://bugs.launchpad.net/bugs/1965882

Even if upstream decided to enable these options by default, it is
probably safer for now to keep IOMMU disabled, to prevent potential
issues like those mentioned above.

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
debian.master/config/annotations
debian.master/config/config.common.ubuntu

index 04661792b02a65357471133758bb2b24d74ab528..3b8a15c73ddfbac71cbb0a27b7edc426052ed77c 100644 (file)
@@ -3243,11 +3243,10 @@ CONFIG_IOMMU_DEFAULT_PASSTHROUGH                policy<{'amd64': 'n', 'arm64': '
 # Menu: Device Drivers >> IOMMU Hardware Support >> Support for Intel IOMMU using DMA Remapping Devices
 CONFIG_INTEL_IOMMU                              policy<{'amd64': 'y'}>
 CONFIG_INTEL_IOMMU_SVM                          policy<{'amd64': 'y'}>
-CONFIG_INTEL_IOMMU_DEFAULT_ON                   policy<{'amd64': 'y'}>
-CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON     policy<{'amd64': 'y'}>
-
-CONFIG_INTEL_IOMMU_DEFAULT_ON                   note<LP:1951440>
-CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON     note<LP:1951440>
+CONFIG_INTEL_IOMMU_DEFAULT_ON                   policy<{'amd64': 'n'}>
+CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON     policy<{'amd64': 'n'}>
+#
+CONFIG_INTEL_IOMMU_DEFAULT_ON                   note<the IOMMU can trigger boot failures> flag<REVIEW>
 
 # Menu: Device Drivers >> IRQ chip support
 CONFIG_AL_FIC                                   policy<{'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y'}>
index 88b6c52499ca42b74fa58204829b0fe98f6110f1..e384a2b719a9145ea14b957a951020fe8b87eba1 100644 (file)
@@ -5126,9 +5126,9 @@ CONFIG_INTEL_IDXD_SVM=y
 CONFIG_INTEL_INT0002_VGPIO=m
 CONFIG_INTEL_IOATDMA=m
 CONFIG_INTEL_IOMMU=y
-CONFIG_INTEL_IOMMU_DEFAULT_ON=y
+# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
 CONFIG_INTEL_IOMMU_FLOPPY_WA=y
-CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON=y
+# CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON is not set
 CONFIG_INTEL_IOMMU_SVM=y
 CONFIG_INTEL_IPS=m
 CONFIG_INTEL_ISHTP_ECLITE=m