[PATCH v2 06/10] RISC-V: add single letter extensions to riscv_isa_ext

Evan Green evan at rivosinc.com
Thu Jun 29 16:11:13 PDT 2023


On Thu, Jun 29, 2023 at 1:30 AM Conor Dooley <conor.dooley at microchip.com> wrote:
>
> So that riscv_fill_hwcap() can use riscv_isa_ext to probe for single
> letter extensions, add them to it.
> As a result, what gets spat out in /proc/cpuinfo will become borked, as
> single letter extensions will be printed as part of the base extensions
> and while printing from riscv_isa_arr. Take the opportunity to unify the
> printing of the isa string, using the new member of riscv_isa_ext_data
> in the process.
>
> Reviewed-by: Andrew Jones <ajones at ventanamicro.com>
> Signed-off-by: Conor Dooley <conor.dooley at microchip.com>

Reviewed-by: Evan Green <evan at rivosinc.com>



More information about the linux-riscv mailing list