From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH] linux: Enable Intel DMA Remapping Devices by default on x86_64 Date: Mon, 11 Jul 2022 14:48:08 +0000 Message-ID: <1416c8e1-d570-475b-8811-78ad39793078@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6055610426164133047==" List-Id: --===============6055610426164133047== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=C3=BCller --- config/kernel/kernel.config.x86_64-ipfire | 2 +- config/rootfiles/common/x86_64/linux | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel= .config.x86_64-ipfire index 06d98e325..a5c5a4e29 100644 --- a/config/kernel/kernel.config.x86_64-ipfire +++ b/config/kernel/kernel.config.x86_64-ipfire @@ -6488,7 +6488,7 @@ CONFIG_AMD_IOMMU_V2=3Dy CONFIG_DMAR_TABLE=3Dy CONFIG_INTEL_IOMMU=3Dy CONFIG_INTEL_IOMMU_SVM=3Dy -# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set +CONFIG_INTEL_IOMMU_DEFAULT_ON=3Dy CONFIG_INTEL_IOMMU_FLOPPY_WA=3Dy # CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON is not set CONFIG_IRQ_REMAP=3Dy diff --git a/config/rootfiles/common/x86_64/linux b/config/rootfiles/common/x= 86_64/linux index 326bc6c6e..22c8cf352 100644 --- a/config/rootfiles/common/x86_64/linux +++ b/config/rootfiles/common/x86_64/linux @@ -8071,6 +8071,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 --=20 2.35.3 --===============6055610426164133047==--