diff options
author | Anup Patel <anup.patel@wdc.com> | 2021-06-09 17:43:22 +0530 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-01-11 10:25:43 -0800 |
commit | b579dfe71a6a5c3967ca9ad648673b6ca10ab0d5 (patch) | |
tree | 3871350049ff1f81b9bbc1738545a71f6b505d72 /scripts/mod | |
parent | b0fd4b1bf995172b9efcee23600d4f69571c321c (diff) |
RISC-V: Use SBI SRST extension when available
The SBI SRST extension provides a standard way to poweroff and
reboot the system irrespective to whether Linux RISC-V S-mode
is running natively (HS-mode) or inside Guest/VM (VS-mode).
The SBI SRST extension is available in the SBI v0.3 specification.
(Refer, https://github.com/riscv/riscv-sbi-doc/releases/tag/v0.3.0-rc1)
This patch extends Linux RISC-V SBI implementation to detect
and use SBI SRST extension.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/mod')
0 files changed, 0 insertions, 0 deletions