diff options
| author | Atish Patra <atishp@meta.com> | 2026-08-07 19:24:29 -0600 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2026-08-07 19:24:29 -0600 |
| commit | d8d0fb556e53d2c54967e1d1c227747f66a3aaad (patch) | |
| tree | 504927d65a1898c3ae471ab9d592dc173e571943 /scripts/stackusage | |
| parent | 994dad686e755477e2b2700cca4e6e1a90a58bdc (diff) | |
| download | linux-d8d0fb556e53d2c54967e1d1c227747f66a3aaad.tar.gz linux-d8d0fb556e53d2c54967e1d1c227747f66a3aaad.zip | |
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/stackusage')
0 files changed, 0 insertions, 0 deletions
