]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
linux: Enable Intel DMA Remapping Devices by default on x86_64
authorPeter Müller <peter.mueller@ipfire.org>
Mon, 11 Jul 2022 14:48:08 +0000 (14:48 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Thu, 28 Jul 2022 13:35:20 +0000 (13:35 +0000)
If available, the kernel will enable IOMMU (a/k/a DMA remapping) by
default on boot. To tools making use of that, particularly hypervisors,
this provides better security without any downsides.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
config/kernel/kernel.config.x86_64-ipfire
config/rootfiles/common/x86_64/linux

index 06d98e3250da1ad9d5f4a67ca71e7cb538a7f32c..a5c5a4e2939e3f5e8495ed8d4068067c1d53ecd8 100644 (file)
@@ -6488,7 +6488,7 @@ CONFIG_AMD_IOMMU_V2=y
 CONFIG_DMAR_TABLE=y
 CONFIG_INTEL_IOMMU=y
 CONFIG_INTEL_IOMMU_SVM=y
-# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
+CONFIG_INTEL_IOMMU_DEFAULT_ON=y
 CONFIG_INTEL_IOMMU_FLOPPY_WA=y
 # CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON is not set
 CONFIG_IRQ_REMAP=y
index f81b5589d5fe0a8a74dfe0780cfb26f9314468ed..b25f85a3ab335c5ffa1f94a77ac004efe9add736 100644 (file)
@@ -8075,6 +8075,7 @@ etc/modprobe.d/ipv6.conf
 #lib/modules/KVER-ipfire/build/include/config/INTEL_INT0002_VGPIO
 #lib/modules/KVER-ipfire/build/include/config/INTEL_IOATDMA
 #lib/modules/KVER-ipfire/build/include/config/INTEL_IOMMU
+#lib/modules/KVER-ipfire/build/include/config/INTEL_IOMMU_DEFAULT_ON
 #lib/modules/KVER-ipfire/build/include/config/INTEL_IOMMU_FLOPPY_WA
 #lib/modules/KVER-ipfire/build/include/config/INTEL_IOMMU_SVM
 #lib/modules/KVER-ipfire/build/include/config/INTEL_IPS