U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv6 0/3] various memory related fixups
@ 2026-05-08 22:29 rs
  2026-05-08 22:29 ` [PATCHv6 1/3] sandbox: add board_get_usable_ram_top rs
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: rs @ 2026-05-08 22:29 UTC (permalink / raw)
  To: robertcnelson, ayush, Erik.Welsh, anshuld, bb, trini, afd,
	xypron.glpk, ilias.apalodimas, sjg
  Cc: u-boot

From: Randolph Sapp <rs@ti.com>

Nitpicks and fixes from the discovery thread on adding PocketBeagle2 support
[1]. This does a lot of general setup required for the device, but these
modifications themselves aren't device specific. For those specifically
interested in PocketBeagle2 support and don't care about these details, my
development branch is public [2].

That second patch may provoke some opinions, but honestly if that warning was
still present I wouldn't have spent a week poking holes in both the EFI and LMB
allocations systems. Please let me know if there is a specific usecase that it
breaks though.

[1] https://lore.kernel.org/all/DHHC66BBMD27.YHGIH43C6XBK@ti.com/
[2] https://github.com/StaticRocket/u-boot/tree/feature/pocketbeagle2

v2:
	- Remove additional increment and decrement in lmb_free_fdt_regions
	- Drop the patch to backfill EFI_CONVENTIONAL_MEMORY
	- Adjust the removal loop nitpick patch description
	- Change the reserve memory patch to use new end_addr_sp
v3:
	- Update lmb flags to use the macro documentation for constants
	- Change efi_mem_sort to use list_for_each_entry_safe
v4:
	- Fix typos in LMB allocation flags macro documentation
	- Rename end_addr_sp to initial_relocaddr
	- Keep the map_sysmem dance in the efi u-boot reservation
	- Use the active device tree pointed to by gd->fdt_blob to clean up old
	  reservations
v5:
	- Keep return value as long in boot_fdt_reserve_region
	- Fix formatting in initial_relocaddr patch
v6:
	- Drop patches that have been picked up already
	- Add board_get_usable_ram_top for the sandbox
	- s/boot_fdt_reserve_region/boot_fdt_handle_region/

Randolph Sapp (3):
  sandbox: add board_get_usable_ram_top
  boot_fdt_add_mem_rsv_regions: free old dtb reservations
  memory: reserve from start_addr_sp to initial_relocaddr

 arch/mips/lib/bootm.c             |  2 +-
 board/sandbox/sandbox.c           |  5 +++
 boot/bootm.c                      |  2 +-
 boot/bootm_os.c                   |  2 +-
 boot/image-board.c                |  2 +-
 boot/image-fdt.c                  | 55 +++++++++++++++++++++----------
 common/board_f.c                  |  9 ++++-
 include/asm-generic/global_data.h |  7 ++++
 include/image.h                   |  2 +-
 lib/efi_loader/efi_memory.c       |  2 +-
 lib/lmb.c                         | 41 ++++-------------------
 11 files changed, 71 insertions(+), 58 deletions(-)

-- 
2.54.0


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

end of thread, other threads:[~2026-05-13 16:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-08 22:29 [PATCHv6 0/3] various memory related fixups rs
2026-05-08 22:29 ` [PATCHv6 1/3] sandbox: add board_get_usable_ram_top rs
2026-05-11 18:26   ` Simon Glass
2026-05-11 18:44     ` Randolph Sapp
2026-05-11 19:22       ` Simon Glass
2026-05-08 22:29 ` [PATCHv6 2/3] boot_fdt_add_mem_rsv_regions: free old dtb reservations rs
2026-05-11 18:27   ` Simon Glass
2026-05-11 23:17     ` Randolph Sapp
2026-05-08 22:29 ` [PATCHv6 3/3] memory: reserve from start_addr_sp to initial_relocaddr rs
2026-05-11 18:28   ` Simon Glass
2026-05-11 19:41     ` Randolph Sapp
2026-05-13 16:39       ` Simon Glass
2026-05-11 18:28 ` [PATCHv6,0/3] various memory related fixups Simon Glass

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