Linux EFI development
 help / color / mirror / Atom feed
* [PATCH 0/3] efi/libstub: Fix library dependencies
@ 2026-11-26 15:50 Ard Biesheuvel
  2026-11-26 15:50 ` [PATCH 1/3] efi/libstub: loongarch: Provide 64-bit integer shift helpers for 32-bit Ard Biesheuvel
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ard Biesheuvel @ 2026-11-26 15:50 UTC (permalink / raw)
  To: linux-efi
  Cc: loongarch, Ard Biesheuvel, Dmitry Antipov, Huacai Chen,
	WANG Xuerui

From: Ard Biesheuvel <ardb@kernel.org>

Dmitry reports that 32-bit LoongArch builds with EFI_ZBOOT disabled fail
to link, due to missing helpers for 64-bit integer shifts.

Fix this, and while at it, tweak the build so some of these dependencies
can be dropped for the zboot build.

Cc: Dmitry Antipov <dmantipov@yandex.ru>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: WANG Xuerui <kernel@xen0n.name>

Ard Biesheuvel (3):
  efi/libstub: loongarch: Provide 64-bit integer shift helpers for
    32-bit
  efi/zboot: Eliminate unused code from the zboot executable
  efi/libstub: Provide library helpers only where needed

 drivers/firmware/efi/libstub/Makefile       | 18 +++++++++++-------
 drivers/firmware/efi/libstub/Makefile.zboot |  3 ++-
 drivers/firmware/efi/libstub/zboot.lds      |  4 ++--
 3 files changed, 15 insertions(+), 10 deletions(-)

-- 
2.56.1.839.g22a8290db9-goog


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

end of thread, other threads:[~2026-11-26 16:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 15:50 [PATCH 0/3] efi/libstub: Fix library dependencies Ard Biesheuvel
2026-11-26 15:50 ` [PATCH 1/3] efi/libstub: loongarch: Provide 64-bit integer shift helpers for 32-bit Ard Biesheuvel
2026-11-26 15:50 ` [PATCH 2/3] efi/zboot: Eliminate unused code from the zboot executable Ard Biesheuvel
2026-11-26 15:50 ` [PATCH 3/3] efi/libstub: Provide library helpers only where needed Ard Biesheuvel
2026-11-26 16:22   ` Dmitry Antipov
2026-11-26 16:29     ` Ard Biesheuvel

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