summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij2025-05-02 09:07:36 +0000
committerLinus Walleij2025-05-27 12:26:30 +0000
commit057a0a075edc344d2d031f5b9d04cce397d154bb (patch)
tree172dcdfa6627a9708973c413488da5fec842fe0c
parent6f8c58bfd8f380dfdc1d89aab29fdcdfde0ee65b (diff)
downloadopenwrt-057a0a075edc344d2d031f5b9d04cce397d154bb.tar.gz
generic: Fix up the v6.12 config for ARM
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>
-rw-r--r--target/linux/generic/config-6.122
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/generic/config-6.12 b/target/linux/generic/config-6.12
index 739cdb0e7e..7349ab371d 100644
--- a/target/linux/generic/config-6.12
+++ b/target/linux/generic/config-6.12
@@ -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