Skip to contentSkip to conversation

RISC-V: KVM: Change the SBI specification version to v1.0

PATCH In review Anup Patel 3 participants 3 messages Sep 8, 2022 – Sep 16, 2022

Subsystems (3)
lore
Share & tools
lore

Anup Patel

author
#0 lore raw

PATCH 1/1 RISC-V: KVM: Change the SBI specification version to v1.0

The SBI v1.0 specificaiton is functionally same as SBI v0.3 specification except that SBI v1.0 specification went through the full RISC-V International ratification process.

Let us change the SBI specification version to v1.0.

---
 arch/riscv/include/asm/kvm_vcpu_sbi.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/riscv/include/asm/kvm_vcpu_sbi.h +2 -2
index 26a446a34057..d4e3e600beef 100644
@@ -11,8 +11,8 @@
 
 #define KVM_SBI_IMPID 3
 
-#define KVM_SBI_VERSION_MAJOR 0
-#define KVM_SBI_VERSION_MINOR 3
+#define KVM_SBI_VERSION_MAJOR 1
+#define KVM_SBI_VERSION_MINOR 0
 
 struct kvm_vcpu_sbi_extension {
 	unsigned long extid_start;
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 28 lines · Anup Patel

The SBI v1.0 specificaiton is functionally same as SBI v0.3 specification except that SBI v1.0 specification went through the full RISC-V International ratification process.

Let us change the SBI specification version to v1.0.

---
 arch/riscv/include/asm/kvm_vcpu_sbi.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/riscv/include/asm/kvm_vcpu_sbi.h +2 -3
index 26a446a34057..d4e3e600beef 100644
@@ -11,8 +11,8 @@
 
 #define KVM_SBI_IMPID 3
 
-#define KVM_SBI_VERSION_MAJOR 0
-#define KVM_SBI_VERSION_MINOR 3
+#define KVM_SBI_VERSION_MAJOR 1
+#define KVM_SBI_VERSION_MINOR 0
 
 struct kvm_vcpu_sbi_extension {
        unsigned long extid_start;
--
Quoted 2 lines

2.34.1

Signature · 2 lines
Regards,
Atish
maintainer
#2 lore raw
In reply to Anup Patel
Quoted 8 lines · Anup Patel

The SBI v1.0 specificaiton is functionally same as SBI v0.3 specification except that SBI v1.0 specification went through the full RISC-V International ratification process.

Let us change the SBI specification version to v1.0.

I have queued this patch for 6.1

Thanks,
Anup

Quoted 22 lines
---
 arch/riscv/include/asm/kvm_vcpu_sbi.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/riscv/include/asm/kvm_vcpu_sbi.h +2 -3
index 26a446a34057..d4e3e600beef 100644
@@ -11,8 +11,8 @@
 
 #define KVM_SBI_IMPID 3
 
-#define KVM_SBI_VERSION_MAJOR 0
-#define KVM_SBI_VERSION_MINOR 3
+#define KVM_SBI_VERSION_MAJOR 1
+#define KVM_SBI_VERSION_MINOR 0
 
 struct kvm_vcpu_sbi_extension {
        unsigned long extid_start;
--

2.34.1