diff options
| author | 2026-08-07 19:24:29 -0600 | |
|---|---|---|
| committer | 2026-08-07 19:24:29 -0600 | |
| commit | d8d0fb556e53d2c54967e1d1c227747f66a3aaad (patch) | |
| tree | 504927d65a1898c3ae471ab9d592dc173e571943 /scripts/Makefile.thinlto | |
| parent | riscv: hwprobe: Register unaligned probes before usermode (diff) | |
riscv: efi: Power off via EFI runtime services when available
When booted via UEFI with runtime services enabled, EFI Reset Shutdown is
the firmware-preferred shutdown path: it lets firmware run its own
shutdown hooks which may invoke SBI SRST extension internally. However,
RISC-V always powers off via the SBI SRST extension today and EFI runtime
path is never used even when firmware provides it.
Enable the poweroff via EFI by overriding efi_poweroff_required()
Signed-off-by: Atish Patra <atishp@meta.com>
Reviewed-by: Sunil V L <sunilvl@oss.qualcomm.com>
Link: https://patch.msgid.link/20260615-efi_reset_shutdown-v1-1-9414edcbbab0@meta.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
