HomeFreeBSD

riscv: add SBI system reset extension

Description

riscv: add SBI system reset extension

The System Reset extension provides functions to shutdown or reboot the
system via SBI firmware. This newly defined extension supersedes the
functionality of the legacy shutdown extension.

Update the SBI code to use the new System Reset extension when
available, and fall back to the legacy one.

Reviewed By: kp, jhb
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D28226

Details

Provenance
danq1222_gmail.comAuthored on Jan 27 2021, 4:28 PM
mhorneCommitted on Jan 27 2021, 11:19 PM
Reviewer
kp
Differential Revision
D28226: riscv: add SBI system reset extension
Parents
rGa6405133b7e1: riscv: style(9) nits in sbi.c
Branches
Unknown
Tags
Unknown