RISC-V: KVM: Add SBI v0.2 base extension
authorAtish Patra <atish.patra@wdc.com>
Thu, 18 Nov 2021 08:39:10 +0000 (00:39 -0800)
committerAnup Patel <anup@brainfault.org>
Thu, 6 Jan 2022 09:38:29 +0000 (15:08 +0530)
commitc62a76859723fb732bfeda847f22192e24e121a7
tree6120e622a030b8f0f958373b4d3fd0e2f6369ac1
parenta046c2d8578c93b85ab9272a818c821c254931d0
RISC-V: KVM: Add SBI v0.2 base extension

SBI v0.2 base extension defined to allow backward compatibility and
probing of future extensions. This is also the only mandatory SBI
extension that must be implemented by SBI implementors.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Anup Patel <anup.patel@wdc.com>
arch/riscv/include/asm/kvm_vcpu_sbi.h
arch/riscv/include/asm/sbi.h
arch/riscv/kvm/Makefile
arch/riscv/kvm/vcpu_sbi.c
arch/riscv/kvm/vcpu_sbi_base.c [new file with mode: 0644]