summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnup Patel <apatel@ventanamicro.com>2022-01-31 05:41:43 +0100
committerAnup Patel <anup@brainfault.org>2022-03-11 14:32:26 +0100
commita03faf01a5e32012172a41f5f9d5f02d1cc93ccf (patch)
treec7cf6dd9f3e36be6081dfd586a0ac4ac9ba878b1
parentRISC-V: KVM: Refine __kvm_riscv_switch_to() implementation (diff)
downloadlinux-a03faf01a5e32012172a41f5f9d5f02d1cc93ccf.tar.xz
linux-a03faf01a5e32012172a41f5f9d5f02d1cc93ccf.zip
RISC-V: KVM: Upgrade SBI spec version to v0.3
We upgrade SBI spec version implemented by KVM RISC-V to v0.3 so that Guest kernel can probe and use SBI extensions added by the SBI v0.3 specification. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Atish Patra <atishp@rivosinc.com> Signed-off-by: Anup Patel <anup@brainfault.org>
-rw-r--r--arch/riscv/include/asm/kvm_vcpu_sbi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/kvm_vcpu_sbi.h b/arch/riscv/include/asm/kvm_vcpu_sbi.h
index 76e4e17a3e00..04cd81f2ab5b 100644
--- a/arch/riscv/include/asm/kvm_vcpu_sbi.h
+++ b/arch/riscv/include/asm/kvm_vcpu_sbi.h
@@ -12,7 +12,7 @@
#define KVM_SBI_IMPID 3
#define KVM_SBI_VERSION_MAJOR 0
-#define KVM_SBI_VERSION_MINOR 2
+#define KVM_SBI_VERSION_MINOR 3
struct kvm_vcpu_sbi_extension {
unsigned long extid_start;