kernel: add missing config symbols
authorDaniel Golle <daniel@makrotopia.org>
Wed, 21 Aug 2024 23:10:13 +0000 (00:10 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 21 Aug 2024 23:20:02 +0000 (00:20 +0100)
Kconfig symbols CONFIG_ARM64_CNP and CONFIG_ARM64_EPAN got exposed
by enabling CONFIG_ARM64_PAN. Enable them as well, as just like for
PAN, also EPAN and CNP will be detected at runtime at no cost.

Fixes: a2662309aa ("kernel: Enable CONFIG_ARM64_PAN to restrict kernel access to user space memory")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/armsr/armv8/config-6.6
target/linux/bcm27xx/bcm2710/config-6.6
target/linux/bcm27xx/bcm2711/config-6.6
target/linux/bcm27xx/bcm2712/config-6.6
target/linux/generic/config-6.6
target/linux/layerscape/armv8_64b/config-6.1
target/linux/layerscape/armv8_64b/config-6.6
target/linux/rockchip/armv8/config-6.6

index 64356e27f4ba53ee52ed0377e7517c3ac28353c2..a5a90ff9a89b2c2b4c3b9756ff6f2415d3b7dbc7 100644 (file)
@@ -59,10 +59,8 @@ CONFIG_ARM64=y
 CONFIG_ARM64_4K_PAGES=y
 CONFIG_ARM64_AMU_EXTN=y
 CONFIG_ARM64_BTI=y
-CONFIG_ARM64_CNP=y
 CONFIG_ARM64_CRYPTO=y
 CONFIG_ARM64_E0PD=y
-CONFIG_ARM64_EPAN=y
 CONFIG_ARM64_ERRATUM_1024718=y
 CONFIG_ARM64_ERRATUM_1165522=y
 CONFIG_ARM64_ERRATUM_1286807=y
index 961fd2c71eeaff8eab76859892b50a55939bed3e..0461028d9aefcaa1fdc174e38c2edde490eebb47 100644 (file)
@@ -23,8 +23,6 @@ CONFIG_ARCH_WANTS_NO_INSTR=y
 CONFIG_ARCH_WANTS_THP_SWAP=y
 CONFIG_ARM64=y
 CONFIG_ARM64_4K_PAGES=y
-CONFIG_ARM64_CNP=y
-CONFIG_ARM64_EPAN=y
 CONFIG_ARM64_ERRATUM_819472=y
 CONFIG_ARM64_ERRATUM_824069=y
 CONFIG_ARM64_ERRATUM_826319=y
index 6aeedc1c3129baacf25e4e41cb693121f9a09034..959b8986a5ee4b65b7348c47d360cdae00979329 100644 (file)
@@ -23,8 +23,6 @@ CONFIG_ARCH_WANTS_NO_INSTR=y
 CONFIG_ARCH_WANTS_THP_SWAP=y
 CONFIG_ARM64=y
 CONFIG_ARM64_4K_PAGES=y
-CONFIG_ARM64_CNP=y
-CONFIG_ARM64_EPAN=y
 CONFIG_ARM64_ERRATUM_1319367=y
 CONFIG_ARM64_HW_AFDBM=y
 CONFIG_ARM64_LD_HAS_FIX_ERRATUM_843419=y
index 81cc66e9c47d954d9677d90edab898d05e9fb045..96f0c5b38ad14c7fe999eb487228476242f425a7 100644 (file)
@@ -24,8 +24,6 @@ CONFIG_ARCH_WANTS_NO_INSTR=y
 CONFIG_ARCH_WANTS_THP_SWAP=y
 CONFIG_ARM64=y
 CONFIG_ARM64_4K_PAGES=y
-CONFIG_ARM64_CNP=y
-CONFIG_ARM64_EPAN=y
 CONFIG_ARM64_ERRATUM_1165522=y
 CONFIG_ARM64_ERRATUM_1286807=y
 CONFIG_ARM64_ERRATUM_1463225=y
index 4fcb93fd25c93356c3c00a88e8b7f0d5cbe960a3..368d0c6a6bfae6dd7ad2ab2c571ba5c778198f06 100644 (file)
@@ -324,7 +324,9 @@ CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8
 # CONFIG_ARM64_64K_PAGES is not set
 # CONFIG_ARM64_AMU_EXTN is not set
 # CONFIG_ARM64_BTI is not set
+CONFIG_ARM64_CNP=y
 # CONFIG_ARM64_E0PD is not set
+CONFIG_ARM64_EPAN=y
 # CONFIG_ARM64_ERRATUM_1024718 is not set
 # CONFIG_ARM64_ERRATUM_1165522 is not set
 # CONFIG_ARM64_ERRATUM_1286807 is not set
index 8693370c197b0e89bc6ebe20da97b1953abddce2..3192aa56a6163bff9db5df7f33aa1a9995af227e 100644 (file)
@@ -22,8 +22,6 @@ CONFIG_ARCH_WANTS_NO_INSTR=y
 CONFIG_ARCH_WANTS_THP_SWAP=y
 CONFIG_ARM64=y
 CONFIG_ARM64_4K_PAGES=y
-CONFIG_ARM64_CNP=y
-CONFIG_ARM64_EPAN=y
 CONFIG_ARM64_ERRATUM_1165522=y
 CONFIG_ARM64_ERRATUM_1286807=y
 CONFIG_ARM64_ERRATUM_2051678=y
index 133b75addb1ee44642ad9349bddaf81650a76342..aab2dc816b63dd3497d67cf14ce22a523ee36f8e 100644 (file)
@@ -23,8 +23,6 @@ CONFIG_ARCH_WANTS_NO_INSTR=y
 CONFIG_ARCH_WANTS_THP_SWAP=y
 CONFIG_ARM64=y
 CONFIG_ARM64_4K_PAGES=y
-CONFIG_ARM64_CNP=y
-CONFIG_ARM64_EPAN=y
 CONFIG_ARM64_ERRATUM_1165522=y
 CONFIG_ARM64_ERRATUM_1286807=y
 CONFIG_ARM64_ERRATUM_2051678=y
index bdb7d2b4936d783098431c7a0a90061d6d705140..4c2bb833dd4ac307431254cc51ffa20f7d9eb355 100644 (file)
@@ -22,8 +22,6 @@ CONFIG_ARCH_WANTS_THP_SWAP=y
 CONFIG_ARC_EMAC_CORE=y
 CONFIG_ARM64=y
 CONFIG_ARM64_4K_PAGES=y
-CONFIG_ARM64_CNP=y
-CONFIG_ARM64_EPAN=y
 CONFIG_ARM64_ERRATUM_1024718=y
 CONFIG_ARM64_ERRATUM_1165522=y
 CONFIG_ARM64_ERRATUM_1286807=y