mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/6] add PBL handoff-data support
@ 2024-05-17  6:45 Ahmad Fatoum
  2024-05-17  6:45 ` [PATCH v2 1/6] memory: add support for requesting barebox area as a whole Ahmad Fatoum
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Ahmad Fatoum @ 2024-05-17  6:45 UTC (permalink / raw)
  To: barebox

This series replaces the 3 patches from v1 that are in next.

The first 3 patches are new: They ensure that the handoff structs
(linked list pointers, cookie, flags, ...) are also reserved in the
SDRAM banks and not only the data.

The three patches after that differ to v1 mainly in that reservation
of space for the handoff data is correctly taken care of. This was
erroneous both in PBL and in barebox proper and led to problems for me
trying to boot a Qemu Virt64 machine that has for some reason a FDT that
describes its size in the header as 1MiB.

Refer to each individual patch's changelog for more information.

Ahmad Fatoum (3):
  memory: add support for requesting barebox area as a whole
  treewide: use request_barebox_region for possible barebox memory
    regions
  ARM: cpu: start: register barebox memory area

Sascha Hauer (3):
  ARM: move blob_is_arm_boarddata() to include
  add handoff-data support
  ARM: pass handoff data from PBL to proper

 arch/arm/cpu/cpu.c                 |   2 +-
 arch/arm/cpu/mmu_32.c              |   8 +-
 arch/arm/cpu/mmu_64.c              |   4 +-
 arch/arm/cpu/start.c               |  85 ++++---------
 arch/arm/cpu/uncompress.c          |  36 +++++-
 arch/arm/include/asm/barebox-arm.h |  31 +++--
 arch/arm/mach-imx/scratch.c        |   2 +-
 arch/mips/lib/cpu-probe.c          |   2 +-
 arch/powerpc/mach-mpc5xxx/cpu.c    |   2 +-
 arch/powerpc/mach-mpc85xx/cpu.c    |   2 +-
 arch/riscv/boot/start.c            |   4 +-
 arch/riscv/cpu/core.c              |   2 +-
 common/memory.c                    |  40 +++++-
 fs/pstore/ram_core.c               |   2 +-
 include/memory.h                   |   6 +
 include/pbl/handoff-data.h         |  53 ++++++++
 pbl/Makefile                       |   1 +
 pbl/handoff-data.c                 | 194 +++++++++++++++++++++++++++++
 18 files changed, 382 insertions(+), 94 deletions(-)
 create mode 100644 include/pbl/handoff-data.h
 create mode 100644 pbl/handoff-data.c

-- 
2.39.2




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

end of thread, other threads:[~2024-05-21  7:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-17  6:45 [PATCH v2 0/6] add PBL handoff-data support Ahmad Fatoum
2024-05-17  6:45 ` [PATCH v2 1/6] memory: add support for requesting barebox area as a whole Ahmad Fatoum
2024-05-17  6:45 ` [PATCH v2 2/6] treewide: use request_barebox_region for possible barebox memory regions Ahmad Fatoum
2024-05-17  6:45 ` [PATCH v2 3/6] ARM: cpu: start: register barebox memory area Ahmad Fatoum
2024-05-17  6:45 ` [PATCH v2 4/6] ARM: move blob_is_arm_boarddata() to include Ahmad Fatoum
2024-05-17  6:45 ` [PATCH v2 5/6] add handoff-data support Ahmad Fatoum
2024-05-17  6:45 ` [PATCH v2 6/6] ARM: pass handoff data from PBL to proper Ahmad Fatoum
2024-05-21  7:14 ` [PATCH v2 0/6] add PBL handoff-data support Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox