diff options
author | Charlie Jenkins <charlie@rivosinc.com> | 2024-05-03 07:50:51 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-05-22 19:41:03 +0300 |
commit | e67e98ee8952c7d5ce986d1dc6f8221ab8674afa (patch) | |
tree | 5cd7870c9cac0785f45f3a703b62ca7fd135558d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e482eab4d1eb31031eff2b6afb71776483101979 (diff) | |
download | linux-e67e98ee8952c7d5ce986d1dc6f8221ab8674afa.tar.xz |
riscv: cpufeature: Fix extension subset checking
This loop is supposed to check if ext->subset_ext_ids[j] is valid, rather
than if ext->subset_ext_ids[i] is valid, before setting the extension
id ext->subset_ext_ids[j] in isainfo->isa.
Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Fixes: 0d8295ed975b ("riscv: add ISA extension parsing for scalar crypto")
Link: https://lore.kernel.org/r/20240502-cpufeature_fixes-v4-2-b3d1a088722d@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions