[PATCH v2 6/6] RISC-V: Improve /proc/cpuinfo output for ISA extensions

Heiko Stübner heiko at sntech.de
Mon Feb 14 12:07:05 PST 2022


Am Donnerstag, 10. Februar 2022, 22:40:18 CET schrieb Atish Patra:
> Currently, the /proc/cpuinfo outputs the entire riscv,isa string which
> is not ideal when we have multiple ISA extensions present in the ISA
> string. Some of them may not be enabled in kernel as well.
> 
> Parse only the enabled ISA extension and print them in a separate row.
> 
> Signed-off-by: Atish Patra <atishp at rivosinc.com>

Using this for my svpbmt series, it shows the extension nicely

Tested-by: Heiko Stuebner <heiko at sntech.de>





More information about the linux-riscv mailing list