]> www.infradead.org Git - users/jedix/linux-maple.git/commit
riscv: enable the Kconfig prompt of STRICT_KERNEL_RWX
authorVincent Chen <vincent.chen@sifive.com>
Tue, 23 Jun 2020 05:36:59 +0000 (13:36 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Fri, 10 Jul 2020 03:09:29 +0000 (20:09 -0700)
commitfc0c769ffd926312848912a7c2296e1c503898c3
treef2be9c1ed0a4472c7910a11ea60da789cfbbbafa
parent8c080d3a974ad471d8324825851044284f1886c9
riscv: enable the Kconfig prompt of STRICT_KERNEL_RWX

Due to lack of hardware breakpoint support, the kernel option
CONFIG_STRICT_KERNEL_RWX should be disabled when using KGDB. However,
CONFIG_STRICT_KERNEL_RWX is always enabled now. Therefore, select
ARCH_OPTIONAL_KERNEL_RWX_DEFAULT to enable CONFIG_STRICT_KERNEL_RWX
by default, and then select ARCH_OPTIONAL_KERNEL_RWX to enable the
Kconfig prompt of CONFIG_STRICT_KERNEL_RWX so that users can turn it off.

Signed-off-by: Vincent Chen <vincent.chen@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/Kconfig