RISCV_EFI_BOOT_PROTOCOL support in linux
Status from this message: Queued in efi/next, thanks all.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest1 patch 2 repliesApplied
- v41 patch 6 repliesSuperseded
- v31 patch 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 RFC | 1 patch | 4 replies | Superseded | |
| v1 RFC | 1 patch | 4 replies | Superseded |
Changes in v5 from the cover letter
- Changed data type of hartid to unsigned long
- Updated jump_kernel_func() to take unsigned long for hartid
Patches in v5 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | riscv/efi_stub: Add support for RISCV_EFI_BOOT_PROTOCOLdrivers/ drivers/ include/ | +33 | 2 replies |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Palmer Dabbelt | Heinrich Schuchardt |
|---|---|---|
| 1/1 | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V5 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 spec of this new protocol post public review (Ratification-ready) is available at:
https://github.com/riscv-non-isa/riscv-uefi/releases/download/1.0.0/RISCV_UEFI_PROTOCOL-spec.pdf
This is tested in qemu with both u-boot and edk2.
Changes since V4:
- Changed data type of hartid to unsigned long
- Updated jump_kernel_func() to take unsigned long for hartid
Changes since V3:
- Rebased, no code changes.
- cover letter updated with link to spec version after public review
Changes since V2:
- Updated error message
Changes since V1:
- Rebased to get the "Fix get_boot_hartid_from_fdt() return value" patch
- Removed mixed_mode member
- Separated return value and status.
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 | 31 ++++++++++++++++++----- include/linux/efi.h | 1 + 3 files changed, 33 insertions(+), 6 deletions(-)
Signature · 1 line
2.25.1