public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: junan <junan76@163.com>
To: catalin.marinas@arm.com, will@kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, junan76@163.com
Subject: [PATCH] arm64: kconfig: Make STRICT_KERNEL_RWX visable.
Date: Wed, 14 Jan 2026 09:38:42 +0800	[thread overview]
Message-ID: <20260114013859.498148-2-junan76@163.com> (raw)

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



             reply	other threads:[~2026-01-14  1:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-14  1:38 junan [this message]
2026-01-14  8:38 ` [PATCH] arm64: kconfig: Make STRICT_KERNEL_RWX visable kernel test robot
2026-01-15 13:08 ` Will Deacon
2026-01-16  2:23   ` junan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260114013859.498148-2-junan76@163.com \
    --to=junan76@163.com \
    --cc=catalin.marinas@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox