All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] RISCV_EFI_BOOT_PROTOCOL support in linux
@ 2022-03-24 11:25 ` Sunil V L
  0 siblings, 0 replies; 8+ messages in thread
From: Sunil V L @ 2022-03-24 11:25 UTC (permalink / raw)
  To: Ard Biesheuvel, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Ilias Apalodimas
  Cc: Heinrich Schuchardt, Atish Patra, Anup Patel, Jessica Clarke,
	Abner Chang, linux-efi, linux-kernel, linux-riscv, Sunil V L

This patch adds support for getting the boot hart ID using new
RISCV_EFI_BOOT_PROTOCOL in linux efi stub. While there is an existing
solution of passing the boot hart ID through Device Tree, it doesn't work for
ACPI. Hence an EFI protocol protocol is recommended which works for both DT and ACPI
based platforms.

The frozen spec of this new protocol is available at
https://github.com/riscv-non-isa/riscv-uefi/releases/download/1.0-rc3/RISCV_UEFI_PROTOCOL-spec.pdf

This is tested in qemu with both u-boot and edk2.

Sunil V L (1):
  riscv/efi_stub: Add support for RISCV_EFI_BOOT_PROTOCOL

 drivers/firmware/efi/libstub/efistub.h    |  7 ++++++
 drivers/firmware/efi/libstub/riscv-stub.c | 29 +++++++++++++++++++----
 include/linux/efi.h                       |  1 +
 3 files changed, 32 insertions(+), 5 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2022-03-24 12:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-24 11:25 [PATCH 0/1] RISCV_EFI_BOOT_PROTOCOL support in linux Sunil V L
2022-03-24 11:25 ` Sunil V L
2022-03-24 11:25 ` [PATCH 1/1] riscv/efi_stub: Add support for RISCV_EFI_BOOT_PROTOCOL Sunil V L
2022-03-24 11:25   ` Sunil V L
2022-03-24 11:46   ` Heinrich Schuchardt
2022-03-24 11:46     ` Heinrich Schuchardt
2022-03-24 12:16     ` Sunil V L
2022-03-24 12:16       ` Sunil V L

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.