include: sbi: Upgrade SBI implementation version to v0.3
authorAnup Patel <anup.patel@wdc.com>
Fri, 12 Feb 2021 06:28:50 +0000 (11:58 +0530)
committerAnup Patel <anup@brainfault.org>
Wed, 3 Mar 2021 08:24:44 +0000 (13:54 +0530)
The OpenSBI SBI implementation is now compliant with latest draft
SBI v0.3 specification so let's upgrade SBI implementation version.

This will also help HSM suspend function detection in S-mode because
HSM suspend function is only present when HSM extension is present
and SBI implementation version is 0.3 (or higher).

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
include/sbi/sbi_ecall.h

index d357085..63ef866 100644 (file)
@@ -14,7 +14,7 @@
 #include <sbi/sbi_list.h>
 
 #define SBI_ECALL_VERSION_MAJOR                0
-#define SBI_ECALL_VERSION_MINOR                2
+#define SBI_ECALL_VERSION_MINOR                3
 #define SBI_OPENSBI_IMPID              1
 
 struct sbi_trap_regs;