]> 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)
commit5b72cce4234cca2741c4c2b614dd4ff22f449699
tree2ea0f3cd8a48115b34d6fce5ceb81e03b8de8cde
parenta238a419179d87fd9db272b17b9b9f40003452a4
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