RISC-V: Add SBI HSM suspend related defines
authorAnup Patel <apatel@ventanamicro.com>
Mon, 15 Feb 2021 05:13:39 +0000 (10:43 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 11 Mar 2022 13:32:34 +0000 (19:02 +0530)
commitc38ff47bf094dc776ad4b586e47c4a7077a94f28
tree2ea0f3cd8a48115b34d6fce5ceb81e03b8de8cde
parentbe78aa8a38c8dc5c9676612c36329441132bccab
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 the latest SBI specification.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/include/asm/sbi.h
arch/riscv/kernel/cpu_ops_sbi.c
arch/riscv/kvm/vcpu_sbi_hsm.c