All of lore.kernel.org
 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

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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.