From: "Peter Müller" <peter.mueller@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH 3/3] linux: Align default IOMMU handling on aarch64
Date: Sun, 09 Jul 2023 14:56:00 +0000 [thread overview]
Message-ID: <f117b300-14e5-f625-f938-a23746a6eca5@ipfire.org> (raw)
In-Reply-To: <c7b0a899-eeb8-d632-0d37-ba6490e879dd@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 1024 bytes --]
Resorting to strict default IOMMU handling has been our default for
several Core Updates on x86_64 by now, so bring this security
improvement to our aarch64 userbase as well.
Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>
---
config/kernel/kernel.config.aarch64-ipfire | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/kernel.config.aarch64-ipfire
index a85704e96..dec736a56 100644
--- a/config/kernel/kernel.config.aarch64-ipfire
+++ b/config/kernel/kernel.config.aarch64-ipfire
@@ -7257,9 +7257,9 @@ CONFIG_IOMMU_IO_PGTABLE_LPAE=y
# CONFIG_IOMMU_IO_PGTABLE_DART is not set
# end of Generic IOMMU Pagetable Support
-# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not set
+CONFIG_IOMMU_DEFAULT_DMA_STRICT=y
# CONFIG_IOMMU_DEFAULT_DMA_LAZY is not set
-CONFIG_IOMMU_DEFAULT_PASSTHROUGH=y
+# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set
CONFIG_OF_IOMMU=y
CONFIG_IOMMU_DMA=y
CONFIG_ROCKCHIP_IOMMU=y
--
2.35.3
next prev parent reply other threads:[~2023-07-09 14:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-09 14:55 [PATCH 1/3] linux: Enable Indirect Branch Tracking by default Peter Müller
2023-07-09 14:56 ` [PATCH 2/3] linux: Trigger a BUG() when corruption of kernel data structures is detected Peter Müller
2023-07-09 14:56 ` Peter Müller [this message]
2023-07-10 17:33 ` [PATCH 1/3] linux: Enable Indirect Branch Tracking by default Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f117b300-14e5-f625-f938-a23746a6eca5@ipfire.org \
--to=peter.mueller@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox