On Fri, May 23, 2025 at 12:33 AM Atish Patra [off-list ref] wrote:
Upgrade the SBI version to v3.0 so that corresponding features
can be enabled in the guest.
Signed-off-by: Atish Patra <redacted>
Extending the ONE_REG interface to allow KVM user-space select
SBI version can be done as a separate series.
For this series, we can go ahead with this patch.
Reviewed-by: Anup Patel <anup@brainfault.org>
Regards,
Anup
quoted hunk ↗ jump to hunk
---
arch/riscv/include/asm/kvm_vcpu_sbi.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/include/asm/kvm_vcpu_sbi.h b/arch/riscv/include/asm/kvm_vcpu_sbi.h
index 4ed6203cdd30..194299e0ab0e 100644
--- a/arch/riscv/include/asm/kvm_vcpu_sbi.h
+++ b/arch/riscv/include/asm/kvm_vcpu_sbi.h
@@ -11,7 +11,7 @@
#define KVM_SBI_IMPID 3
-#define KVM_SBI_VERSION_MAJOR 2
+#define KVM_SBI_VERSION_MAJOR 3
#define KVM_SBI_VERSION_MINOR 0
enum kvm_riscv_sbi_ext_status {
--2.43.0