summaryrefslogtreecommitdiff
path: root/cmd/riscv
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2024-09-17 10:10:36 +0200
committerLeo Yu-Chi Liang <[email protected]>2024-10-28 16:11:33 +0800
commitfaf82cc695ce31ee30037f005b1c4e16b6b0a8f6 (patch)
tree2a735eb53bec52548817ea9a3c76942e20a56665 /cmd/riscv
parent3df6145db0ed3430a2af089db5a82372bea3f4d5 (diff)
cmd: sbi: Add FWFT, MPXY extensions
The SBI 3.0 specification [1] adds the following extensions: * Firmware Features Extension * Message Proxy Extension Let the sbi command detect their availability. The Firmware Features Extension is already implemented in OpenSBI. Correct the text for the DBTR extension and move it to the same position as in the specification. [1] https://github.com/riscv-non-isa/riscv-sbi-doc/releases/download/vv3.0-rc1/riscv-sbi.pdf Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
Diffstat (limited to 'cmd/riscv')
-rw-r--r--cmd/riscv/sbi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/riscv/sbi.c b/cmd/riscv/sbi.c
index a231604e492..5ecf56781c1 100644
--- a/cmd/riscv/sbi.c
+++ b/cmd/riscv/sbi.c
@@ -54,8 +54,10 @@ static struct sbi_ext extensions[] = {
{ SBI_EXT_CPPC, "Collaborative Processor Performance Control Extension" },
{ SBI_EXT_NACL, "Nested Acceleration Extension" },
{ SBI_EXT_STA, "Steal-time Accounting Extension" },
- { SBI_EXT_DBTR, "Debug Trigger Extension" },
{ SBI_EXT_SSE, "Supervisor Software Events" },
+ { SBI_EXT_FWFT, "Firmware Features Extension" },
+ { SBI_EXT_DBTR, "Debug Triggers Extension" },
+ { SBI_EXT_MPXY, "Message Proxy Extension" },
};
static int do_sbi(struct cmd_tbl *cmdtp, int flag, int argc,