[PATCH 0/2] riscv: Use EFI runtime services for poweroff and restart

Paul Walmsley pjw at kernel.org
Thu Jun 25 13:14:54 PDT 2026


On Mon, 15 Jun 2026, Atish Patra wrote:

> Today RISC-V always uses the SBI SRST extension for both poweroff and restart,
> even when UEFI runtime services are available. This series makes RISC-V prefer
> EFI runtime services for both paths when available. The reset via EFI is
> required for EFI capsule updates and also documented as a preferred method
> in BRS 1.0 spec (e.g. URT_030)[1] 
> 
> Behavior on SBI-only (non-EFI) systems is unchanged.
> 
> Tested under QEMU 'virt' with EDK2/UEFI firmware exposing runtime
> ResetSystem().
> 
> [1] https://docs.riscv.org/reference/brs/uefi.html#uefi
> 
> Signed-off-by: Atish Patra <atishp at meta.com>

Thanks, queued for v7.3.


- Paul



More information about the linux-riscv mailing list