diff mbox series

[RFC,v2,10/11] include: sbi: Upgrade SBI implementation version to v0.3

Message ID 20210224103203.246229-11-anup.patel@wdc.com
State Superseded
Headers show
Series SBI HSM suspend implementation | expand

Commit Message

Anup Patel Feb. 24, 2021, 10:32 a.m. UTC
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>
---
 include/sbi/sbi_ecall.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Atish Patra March 2, 2021, 6:20 a.m. UTC | #1
On Wed, Feb 24, 2021 at 2:33 AM Anup Patel <anup.patel@wdc.com> wrote:
>
> 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>
> ---
>  include/sbi/sbi_ecall.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/sbi/sbi_ecall.h b/include/sbi/sbi_ecall.h
> index d357085..63ef866 100644
> --- a/include/sbi/sbi_ecall.h
> +++ b/include/sbi/sbi_ecall.h
> @@ -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;
> --
> 2.25.1
>
>
> --
> opensbi mailing list
> opensbi@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/opensbi



Reviewed-by: Atish Patra <atish.patra@wdc.com>
diff mbox series

Patch

diff --git a/include/sbi/sbi_ecall.h b/include/sbi/sbi_ecall.h
index d357085..63ef866 100644
--- a/include/sbi/sbi_ecall.h
+++ b/include/sbi/sbi_ecall.h
@@ -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;