From 057a0a075edc344d2d031f5b9d04cce397d154bb Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Fri, 2 May 2025 11:07:36 +0200 Subject: [PATCH] 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 --- target/linux/generic/config-6.12 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/generic/config-6.12 b/target/linux/generic/config-6.12 index 739cdb0e7ea..7349ab371d5 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 -- 2.47.2