RISC-V: Add SBI HSM suspend related defines
authorAnup Patel <anup.patel@wdc.com>
Thu, 10 Feb 2022 05:49:43 +0000 (11:19 +0530)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 10 Mar 2022 17:29:39 +0000 (09:29 -0800)
commitb8200905e48891b4a3134b47f35c730347135eed
tree160709adab2cacf62d99aeba2309c1061bbb3590
parent63b13e64a829e7b12fba81fccbea0d5448fc0c24
RISC-V: Add SBI HSM suspend related defines

We add defines related to SBI HSM suspend call and also
update HSM states naming as-per latest SBI specification.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/sbi.h
arch/riscv/kernel/cpu_ops_sbi.c
arch/riscv/kvm/vcpu_sbi_hsm.c