Skip to contentSkip to conversation

riscv: select ARCH_PROC_KCORE_TEXT

PATCH Applied Andreas Schwab 2 participants 2 messages Oct 31, 2023 – Nov 7, 2023 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv: select ARCH_PROC_KCORE_TEXT

This adds a separate segment for kernel text in /proc/kcore, which has a different address than the direct linear map.

---
 arch/riscv/Kconfig | 3 +++
 1 file changed, 3 insertions(+)
arch/riscv/Kconfig +3 -0
index 9c48fecc6719..596975741401 100644
@@ -899,6 +899,9 @@ config PORTABLE
 	select MMU
 	select OF
 
+config ARCH_PROC_KCORE_TEXT
+	def_bool y
+
 menu "Power management options"
 
 source "kernel/power/Kconfig"
Signature · 12 lines
2.42.0


-- 
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
#1 lore raw
This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <[email protected]>:

Hello:

This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <[email protected]>:

Quoted 7 lines · On Tue, 31 Oct 2023 12:40:47 +0100 you wrote:

This adds a separate segment for kernel text in /proc/kcore, which has a different address than the direct linear map.

---
 arch/riscv/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

Here is the summary with links:
- riscv: select ARCH_PROC_KCORE_TEXT

    https://git.kernel.org/riscv/c/e0c0a7c35f67

You are awesome, thank you!

Signature · 9 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv