]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
generic: Fix up the v6.12 config for ARM
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 2 May 2025 09:07:36 +0000 (11:07 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 27 May 2025 12:26:30 +0000 (14:26 +0200)
This adds a few ARM-related kconfig options that makes the
configure phase smooth on ARM (32bit) systems.

We default PAN to enabled for protection, however this has
a syscall speed penalty, if your system is interacting a lot
from userspace you might want to disable it for speed vs
security. For in-kernel routing it should not be a major
issue.

Some marginal ARM system enables DRM so make sure we have
the related DRM Kconfigs set up to unselected.

Link: https://github.com/openwrt/openwrt/pull/18900
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
target/linux/generic/config-6.12

index 739cdb0e7ea15b711a1c9835646b03315398dad7..7349ab371d5185d12eb7f92ded4b46c6b482a140 100644 (file)
@@ -436,6 +436,7 @@ CONFIG_ARM_GIC_MAX_NR=1
 # CONFIG_ARM_MHU is not set
 CONFIG_ARM_MODULE_PLTS=y
 # CONFIG_ARM_NI is not set
+CONFIG_ARM_PAN=y
 # CONFIG_ARM_PATCH_PHYS_VIRT is not set
 # CONFIG_ARM_PAN is not set
 # CONFIG_ARM_PSCI is not set
@@ -6399,6 +6400,7 @@ CONFIG_SSB_POSSIBLE=y
 # CONFIG_SSB_SDIOHOST is not set
 # CONFIG_SSFDC is not set
 # CONFIG_SSIF_IPMI_BMC is not set
+CONFIG_STACKDEPOT_MAX_FRAMES=64
 # CONFIG_STACKPROTECTOR is not set
 # CONFIG_STACKPROTECTOR_PER_TASK is not set
 # CONFIG_STACKPROTECTOR_STRONG is not set