diff options
| author | Conor Dooley <[email protected]> | 2023-07-13 13:11:05 +0100 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2023-07-25 16:26:21 -0700 |
| commit | effc122ad17698996ce2e839c69695cd22645be1 (patch) | |
| tree | 42df4e10eae81685e9f1cee5fde728dcc735bd9b /tools/perf/scripts/python/libxed.py | |
| parent | c30556e318cc3d8e04349aea6505639ec8a5fbdc (diff) | |
RISC-V: add single letter extensions to riscv_isa_ext
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 <[email protected]>
Signed-off-by: Conor Dooley <[email protected]>
Link: https://lore.kernel.org/r/20230713-despite-bright-de00ac888cc7@wendy
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions