intel-iommu: Add Kconfig option to exclude iGPU by default
authorBen Hutchings <ben@decadent.org.uk>
Tue, 20 Aug 2019 23:32:16 +0000 (00:32 +0100)
committerSalvatore Bonaccorso <carnil@debian.org>
Sat, 22 Apr 2023 12:24:15 +0000 (13:24 +0100)
commit4c879d0e3b9aae24466b68bb84fee2e7c8e51318
treed6bc7628fc79cc890075964863e0736241d1fa89
parent5baae34309f61d3a35ed53416de6a4f7100e0a73
intel-iommu: Add Kconfig option to exclude iGPU by default

Bug-Debian: https://bugs.debian.org/935270
Bug-Kali: https://bugs.kali.org/view.php?id=5644

There is still laptop firmware that touches the integrated GPU behind
the operating system's back, and doesn't say so in the RMRR table.
Enabling the IOMMU for all devices causes breakage.

Replace CONFIG_INTEL_IOMMU_DEFAULT_ON with a 3-way choice
corresponding to "on", "off", and "on,intgpu_off".

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic features/x86
Gbp-Pq: Name intel-iommu-add-kconfig-option-to-exclude-igpu-by-default.patch
drivers/iommu/intel/Kconfig
drivers/iommu/intel/iommu.c