All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] lmb: move lmb_map_update_notify() to EFI
@ 2025-02-16 11:12 Heinrich Schuchardt
  2025-02-16 11:12 ` [PATCH 1/3] lmb: avoid superfluous value check in lmb_map_update_notify() Heinrich Schuchardt
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Heinrich Schuchardt @ 2025-02-16 11:12 UTC (permalink / raw)
  To: Ilias Apalodimas
  Cc: Liya Huang, Adriano Cordova, Tom Rini, Simon Glass, Sughosh Ganu,
	Vincent Stehlé, Sam Protsenko, Janne Grunau, u-boot,
	Heinrich Schuchardt

When building with qemu_arm64_defconfig with CONFIG_CC_OPTIMIZE_FOR_DEBUG=y
and CONFIG_EFI_LOADER an error undefined reference to efi_add_memory_map_pg
occurs.

Move the EFI dependent part of lmb_map_update_notify() to the EFI
sub-system and clean up a little.

Thanks to Liya for reporting the issue and providing a first patch.

Heinrich Schuchardt (3):
  lmb: avoid superfluous value check in lmb_map_update_notify()
  lmb: move lmb_map_update_notify() to EFI
  efi_loader: make efi_add_memory_map_pg() static

 include/efi_loader.h        | 30 ++++++++++-----------
 include/lmb.h               | 12 +++++++++
 lib/efi_loader/efi_memory.c | 28 ++++++++++++++++++++
 lib/lmb.c                   | 52 +++++++------------------------------
 4 files changed, 64 insertions(+), 58 deletions(-)

-- 
2.47.1


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

end of thread, other threads:[~2025-02-21  8:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-16 11:12 [PATCH 0/3] lmb: move lmb_map_update_notify() to EFI Heinrich Schuchardt
2025-02-16 11:12 ` [PATCH 1/3] lmb: avoid superfluous value check in lmb_map_update_notify() Heinrich Schuchardt
2025-02-20  6:57   ` Ilias Apalodimas
2025-02-16 11:12 ` [PATCH 2/3] lmb: move lmb_map_update_notify() to EFI Heinrich Schuchardt
2025-02-17  9:55   ` Sughosh Ganu
2025-02-20  8:28     ` Heinrich Schuchardt
2025-02-20  8:48   ` Ilias Apalodimas
2025-02-21  8:38   ` Alexander Dahl
2025-02-16 11:12 ` [PATCH 3/3] efi_loader: make efi_add_memory_map_pg() static Heinrich Schuchardt
2025-02-18  7:03   ` Ilias Apalodimas

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.