cmd/sbi: display new extensions
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 12 Apr 2023 08:38:16 +0000 (10:38 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 6 Jul 2023 09:28:08 +0000 (17:28 +0800)
commit7906155ed35ea584c3f8461d297426277d2d4416
treeea76a8339ef0e924fb3893098bad6b272d3b6fed
parente80f4079b3a3db0961b73fa7a96e6c90242d8d25
cmd/sbi: display new extensions

OpenSBI already implements some extensions that are not ratified yet:

* Debug Console Extension (DBCN)
* System Suspend Extension (SUSP)
* Collaborative Processor Performance Control Extension (CPPC)

Allow the sbi command to display these.

Provide the FID definitions of the Debug Console Extension. We can use that
extension for an early debug console driver.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/include/asm/sbi.h
cmd/riscv/sbi.c