* [PATCH 1/1] riscv: AVAILABLE_HARTS is not compatible with XIP
@ 2025-01-23 2:21 Heinrich Schuchardt
2025-02-03 3:26 ` Leo Liang
0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2025-01-23 2:21 UTC (permalink / raw)
To: Rick Chen, Leo
Cc: Tom Rini, Ben Dooks, Simon Glass, u-boot, Heinrich Schuchardt
If CONFIG_AVAILABLE_HARTS=y, variable available_harts_lock is created in
the data section which will not be writable while executing from flash.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---
arch/riscv/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index faf70cb5d4c..f4e76db3df4 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -459,6 +459,7 @@ config SPL_XIP
config AVAILABLE_HARTS
bool "Send IPI by available harts"
+ depends on !XIP
default y
help
By default, IPI sending mechanism will depend on available_harts.
--
2.47.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] riscv: AVAILABLE_HARTS is not compatible with XIP
2025-01-23 2:21 [PATCH 1/1] riscv: AVAILABLE_HARTS is not compatible with XIP Heinrich Schuchardt
@ 2025-02-03 3:26 ` Leo Liang
0 siblings, 0 replies; 2+ messages in thread
From: Leo Liang @ 2025-02-03 3:26 UTC (permalink / raw)
To: Heinrich Schuchardt; +Cc: Rick Chen, Tom Rini, Ben Dooks, Simon Glass, u-boot
On Thu, Jan 23, 2025 at 03:21:40AM +0100, Heinrich Schuchardt wrote:
> If CONFIG_AVAILABLE_HARTS=y, variable available_harts_lock is created in
> the data section which will not be writable while executing from flash.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
> ---
> arch/riscv/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-03 3:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-23 2:21 [PATCH 1/1] riscv: AVAILABLE_HARTS is not compatible with XIP Heinrich Schuchardt
2025-02-03 3:26 ` Leo Liang
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.