RISC-V: Add SBI HSM extension definitions
authorAtish Patra <atish.patra@wdc.com>
Wed, 18 Mar 2020 01:11:42 +0000 (18:11 -0700)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Tue, 31 Mar 2020 18:26:05 +0000 (11:26 -0700)
commitdb5a79460315bd12dedee5f964cd72f3a534ecb2
tree09e805f9185e0653c4d7d11b7b8046223e933e4b
parentf90b43ce176c129a84237c9d57fae51aeff3e6ec
RISC-V: Add SBI HSM extension definitions

SBI specification defines HSM extension that allows to start/stop a hart
by a supervisor anytime. The specification is available at

https://github.com/riscv/riscv-sbi-doc/blob/master/riscv-sbi.adoc

Add those definitions here.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/include/asm/sbi.h