summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2023-08-02 22:39:46 +0200
committerLeo Yu-Chi Liang <[email protected]>2023-08-10 10:57:56 +0800
commit6982e6b04672440fce0eed93679aea89a024779f (patch)
tree5ab63de6e9747e1c8fbc403ae63bbd6f12b1aadc /cmd
parent1b7de4f9efd7df1c82948c2b7b7a8cc4ed1577e3 (diff)
cmd/sbi: display new extensions
The SBI specification v2.0-rc2 defines new extensions: * Nested Acceleration Extension (NACL) * Steal Time Accounting (STA) Allow the sbi command to display these. Add missing implementation IDs. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/riscv/sbi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/riscv/sbi.c b/cmd/riscv/sbi.c
index c4707fe5207..32761c595eb 100644
--- a/cmd/riscv/sbi.c
+++ b/cmd/riscv/sbi.c
@@ -27,6 +27,8 @@ static struct sbi_imp implementations[] = {
{ 4, "RustSBI" },
{ 5, "Diosix" },
{ 6, "Coffer" },
+ { 7, "Xen Project" },
+ { 8, "PolarFire Hart Software Services" },
};
static struct sbi_ext extensions[] = {
@@ -49,6 +51,8 @@ static struct sbi_ext extensions[] = {
{ SBI_EXT_DBCN, "Debug Console Extension" },
{ SBI_EXT_SUSP, "System Suspend Extension" },
{ SBI_EXT_CPPC, "Collaborative Processor Performance Control Extension" },
+ { SBI_EXT_NACL, "Nested Acceleration Extension" },
+ { SBI_EXT_STA, "Steal-time Accounting Extension" },
};
static int do_sbi(struct cmd_tbl *cmdtp, int flag, int argc,