u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/1] spl: introduce SPL_XIP to config
@ 2022-08-11  9:37 Nikita Shubin
  2022-08-11  9:37 ` [RFC PATCH 1/1] " Nikita Shubin
  0 siblings, 1 reply; 12+ messages in thread
From: Nikita Shubin @ 2022-08-11  9:37 UTC (permalink / raw)
  Cc: linux, Nikita Shubin, Rick Chen, Leo, Simon Glass, Bin Meng,
	Ilias Apalodimas, Heinrich Schuchardt, Sergei Miroshnichenko,
	Alexandru Gagniuc, Alper Nebi Yasak, Andrew Davis, u-boot

From: Nikita Shubin <n.shubin@yadro.com>

U-Boot and SPL don't necessary share the same location, so we might end
with XIP SPL and U-Boot in "normal" memory.

Actually, it seems that we need only hart_lottery and available_harts_lock to 
function like a R/W memory.

May be we should introduce a new section solely for this two locks copy and
initialize it somewhere befor hart lottery or place config variable with 
desired location for locks, but we still end up with a need for a 
"master" hart.

Does anyone have some thoughts about this ?

Nikita Shubin (1):
  spl: introduce SPL_XIP to config

 arch/riscv/cpu/cpu.c                 | 2 +-
 arch/riscv/cpu/start.S               | 4 ++--
 arch/riscv/include/asm/global_data.h | 2 +-
 arch/riscv/lib/asm-offsets.c         | 2 +-
 arch/riscv/lib/smp.c                 | 2 +-
 common/spl/Kconfig                   | 5 +++++
 include/configs/scr7_vcu118.h        | 2 ++
 7 files changed, 13 insertions(+), 6 deletions(-)

-- 
2.35.1


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

end of thread, other threads:[~2022-09-08  0:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11  9:37 [RFC PATCH 0/1] spl: introduce SPL_XIP to config Nikita Shubin
2022-08-11  9:37 ` [RFC PATCH 1/1] " Nikita Shubin
2022-08-13  4:35   ` Sean Anderson
2022-08-15  7:27     ` Nikita Shubin
2022-08-23  4:25       ` Sean Anderson
2022-08-26  8:44         ` [PATCH] " Nikita Shubin
2022-08-26 14:10           ` Sean Anderson
2022-08-31  7:25             ` [PATCH v2] " Nikita Shubin
     [not found]               ` <HK0PR03MB2994C85219E6217F7F9F4A05C17A9@HK0PR03MB2994.apcprd03.prod.outlook.com>
2022-09-02  7:25                 ` Rick Chen
2022-09-02  8:42                   ` Nikita Shubin
2022-09-02  8:47                   ` [PATCH v3] " Nikita Shubin
     [not found]                     ` <HK0PR03MB29942A55774ED60C5568E72CC17F9@HK0PR03MB2994.apcprd03.prod.outlook.com>
2022-09-08  0:45                       ` Rick Chen

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).