Skip to content

RISCV_EFI_BOOT_PROTOCOL support in linux

Sunil V L linux-efi linux-riscv lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1riscv/efi_stub: Add support for RISCV_EFI_BOOT_PROTOCOLdrivers/firmware/efi/libstub/efistub.h drivers/firmware/efi/libstub/riscv-stub.c include/linux/efi.h+32 -52 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchPalmer DabbeltHeinrich Schuchardt
1/1A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/1] RISCV_EFI_BOOT_PROTOCOL support in linux

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(-)
Signature · 1 line
2.25.1