linux-riscv.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] riscv: select ARCH_PROC_KCORE_TEXT
@ 2023-10-31 11:40 Andreas Schwab
  2023-11-07  6:50 ` patchwork-bot+linux-riscv
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2023-10-31 11:40 UTC (permalink / raw)
  To: linux-riscv

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

Signed-off-by: Andreas Schwab <schwab@suse.de>
---
 arch/riscv/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 9c48fecc6719..596975741401 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -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"
-- 
2.42.0


-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* Re: [PATCH] riscv: select ARCH_PROC_KCORE_TEXT
  2023-10-31 11:40 [PATCH] riscv: select ARCH_PROC_KCORE_TEXT Andreas Schwab
@ 2023-11-07  6:50 ` patchwork-bot+linux-riscv
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+linux-riscv @ 2023-11-07  6:50 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: linux-riscv

Hello:

This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@rivosinc.com>:

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.
> 
> Signed-off-by: Andreas Schwab <schwab@suse.de>
> ---
>  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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

end of thread, other threads:[~2023-11-07  6:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-31 11:40 [PATCH] riscv: select ARCH_PROC_KCORE_TEXT Andreas Schwab
2023-11-07  6:50 ` patchwork-bot+linux-riscv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).