[PATCH 1/1] cmd/sbi: format KVM version

Leo Liang ycliang at andestech.com
Tue Aug 30 07:03:57 CEST 2022


On Sun, Aug 14, 2022 at 09:57:14PM +0200, Heinrich Schuchardt wrote:
> Format the KVM implementation number in a human readable form.
> 
> With the patch output of the sbi command for Linux 5.19.1 looks like:
> 
>     => sbi
>     SBI 0.3
>     KVM 5.19.1
>     Machine:
>       Vendor ID 0
>       Architecture ID 7005c
>       Implementation ID 7005c
>     Extensions:
>       SBI Base Functionality
>       Timer Extension
>       IPI Extension
>       RFENCE Extension
>       Hart State Management Extension
>       System Reset Extension
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  cmd/riscv/sbi.c | 14 ++++++++++++--
>  1 file changed, 12 insertions(+), 2 deletions(-)

Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>


More information about the U-Boot mailing list