include: sbi: Change spec version to 2.0
PATCH 1/1 include: sbi: Change spec version to 2.0
Now that SBI v2.0 specification is frozen, we change spec verion implemented by OpenSBI to v2.0.
--- include/sbi/sbi_ecall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/sbi/sbi_ecall.h +1 -1
@@ -13,7 +13,7 @@#include <sbi/sbi_types.h> #include <sbi/sbi_list.h> -#define SBI_ECALL_VERSION_MAJOR 1 +#define SBI_ECALL_VERSION_MAJOR 2#define SBI_ECALL_VERSION_MINOR 0#define SBI_OPENSBI_IMPID 1
Signature · 1 line
2.34.1
PATCH 1/1 include: sbi: Change spec version to 2.0
Quoted 24 lines · Anup Patel
Now that SBI v2.0 specification is frozen, we change spec verion implemented by OpenSBI to v2.0.
Signed-off-by Anup Patel <[email protected]>--- include/sbi/sbi_ecall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/sbi/sbi_ecall.h +1
-1@@ -13,7 +13,7 @@#include <sbi/sbi_types.h> #include <sbi/sbi_list.h> -#define SBI_ECALL_VERSION_MAJOR 1 +#define SBI_ECALL_VERSION_MAJOR 2#define SBI_ECALL_VERSION_MINOR 0#define SBI_OPENSBI_IMPID 1Signature · 1 line
2.34.1
It'd be good to get this merged and also build a new version of opensbi which can be incorporated into QEMU. Without this change several new SBI extensions won't be usable by Linux, even though the implementations are present, because Linux checks that the SBI implementation version is at least as big as the spec version where the extensions were frozen.
Thanks,
drew
Anup Patel
AppliedPATCH 1/1 include: sbi: Change spec version to 2.0
In reply to Anup PatelQuoted 5 lines · On Tue, Oct 10, 2023 at 3:51?PM Anup Patel <[email protected]> wrote:
Now that SBI v2.0 specification is frozen, we change spec verion implemented by OpenSBI to v2.0.
Signed-off-by Anup Patel <[email protected]>
Applied this patch to the riscv/opensbi repo.
Thanks,
Anup
Quoted 20 lines
--- include/sbi/sbi_ecall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/sbi/sbi_ecall.h +1
-2@@ -13,7 +13,7 @@#include <sbi/sbi_types.h> #include <sbi/sbi_list.h> -#define SBI_ECALL_VERSION_MAJOR 1 +#define SBI_ECALL_VERSION_MAJOR 2#define SBI_ECALL_VERSION_MINOR 0#define SBI_OPENSBI_IMPID 1 --2.34.1