diff options
author | Atish Patra <atishp@rivosinc.com> | 2022-03-14 23:38:45 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-03-17 22:18:12 +0300 |
commit | a9b202606c69312cdaa4db187837820ebf7213b2 (patch) | |
tree | fbdf37215b1eb9cc4efae77eaabecb6ae3aa8fa3 /arch/riscv/lib/memmove.S | |
parent | 3f96db125d68127ffef6fdeeb777d94ccf95c09f (diff) | |
download | linux-a9b202606c69312cdaa4db187837820ebf7213b2.tar.xz |
RISC-V: Improve /proc/cpuinfo output for ISA extensions
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.
Same goes for the single letter extensions as well which prints the
entire ISA string. Some of they may not be valid ISA extensions as
well (e.g 'su')
Parse only the valid & enabled ISA extension and print them.
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/lib/memmove.S')
0 files changed, 0 insertions, 0 deletions