public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] arm64: kconfig: Make STRICT_KERNEL_RWX visable.
@ 2026-01-14  1:38 junan
  2026-01-14  8:38 ` kernel test robot
  2026-01-15 13:08 ` Will Deacon
  0 siblings, 2 replies; 4+ messages in thread
From: junan @ 2026-01-14  1:38 UTC (permalink / raw)
  To: catalin.marinas, will; +Cc: linux-arm-kernel, linux-kernel, junan76

Make "STRICT_KERNEL_RWX" visable to menuconfig on arm64 platform.

I can not set breakpoints when using kgdb/kdb on arm64, the document
says "STRICT_KERNEL_RWX" should be "n", but it's not visable in
menuconfig and the default value is "y".

kgdb/kdb doc: https://docs.kernel.org/process/debugging/kgdb.html

Signed-off-by: junan <junan76@163.com>
---
 arch/arm64/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 93173f0a09c7..cc3aaffa1e12 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -52,6 +52,8 @@ config ARM64
 	select ARCH_STACKWALK
 	select ARCH_HAS_STRICT_KERNEL_RWX
 	select ARCH_HAS_STRICT_MODULE_RWX
+	select ARCH_OPTIONAL_KERNEL_RWX		if ARCH_HAS_STRICT_KERNEL_RWX
+	select ARCH_OPTIONAL_KERNEL_RWX_DEFAULT
 	select ARCH_HAS_SYNC_DMA_FOR_DEVICE
 	select ARCH_HAS_SYNC_DMA_FOR_CPU
 	select ARCH_HAS_SYSCALL_WRAPPER
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-01-16  2:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-14  1:38 [PATCH] arm64: kconfig: Make STRICT_KERNEL_RWX visable junan
2026-01-14  8:38 ` kernel test robot
2026-01-15 13:08 ` Will Deacon
2026-01-16  2:23   ` junan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox