Просмотр исходного кода

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 <[email protected]>
Linus Walleij 7 месяцев назад
Родитель
Сommit
057a0a075e
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      target/linux/generic/config-6.12

+ 2 - 0
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