[PATCH] generic: Fix up the v6.12 config for ARM

Linus Walleij linus.walleij at linaro.org
Fri May 2 02:15:41 PDT 2025


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.

Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
---
 target/linux/generic/config-6.12 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/target/linux/generic/config-6.12 b/target/linux/generic/config-6.12
index bbf28d226a0fc4c84a73f19ec18c7a1f50b048fa..9f069ffe104ce3bb92276c38ba8c3a0e5988fc56 100644
--- a/target/linux/generic/config-6.12
+++ b/target/linux/generic/config-6.12
@@ -396,6 +396,7 @@ CONFIG_ARM64_SW_TTBR0_PAN=y
 # CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU is not set
 # CONFIG_ARM_CPUIDLE is not set
 CONFIG_ARM_CPU_TOPOLOGY=y
+# CONFIG_ARM_DEBUG_WX is not set
 CONFIG_ARM_DMA_MEM_BUFFERABLE=y
 # CONFIG_ARM_DSU_PMU is not set
 # CONFIG_ARM_ERRATA_326103 is not set
@@ -434,6 +435,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_PSCI is not set
 # CONFIG_ARM_PSCI_CHECKER is not set
@@ -1602,6 +1604,7 @@ CONFIG_DQL=y
 # CONFIG_DRM_PANEL_WIDECHIPS_WS2401 is not set
 # CONFIG_DRM_PANEL_XINPENG_XPP055C272 is not set
 # CONFIG_DRM_PANFROST is not set
+# CONFIG_DRM_PANIC is not set
 # CONFIG_DRM_PARADE_PS8622 is not set
 # CONFIG_DRM_PARADE_PS8640 is not set
 # CONFIG_DRM_PL111 is not set
@@ -1645,6 +1648,7 @@ CONFIG_DQL=y
 # CONFIG_DRM_VIRTIO_GPU is not set
 # CONFIG_DRM_VKMS is not set
 # CONFIG_DRM_VMWGFX is not set
+# CONFIG_DRM_XE is not set
 # CONFIG_DRM_XEN is not set
 # CONFIG_DRM_XEN_FRONTEND is not set
 # CONFIG_DS1682 is not set
@@ -6357,6 +6361,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

---
base-commit: 241343a2f2f0d3a22b5fd2f16eb0a578c76b4948
change-id: 20250502-arm-kconfig-v6-12-117ad9bbb95a

Best regards,
-- 
Linus Walleij <linus.walleij at linaro.org>




More information about the openwrt-devel mailing list