]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfdeb7f035db5c899bb7b4b95e3afe5e4b4845770
tree2ea0f3cd8a48115b34d6fce5ceb81e03b8de8cde
parentf9c1536215fbb5fa1fc3fd715753645418a39d34
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