diff options
author | Samuel Holland <samuel.holland@sifive.com> | 2024-07-19 00:29:59 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-07-31 19:53:13 +0300 |
commit | b75a22e7d4f23dcd4f78ed2ff368a3d2a4556c0c (patch) | |
tree | 6dc8ef864fa4c8972c8be81815ed636a933ef2b1 /tools/perf/bench | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) | |
download | linux-b75a22e7d4f23dcd4f78ed2ff368a3d2a4556c0c.tar.xz |
riscv: cpufeature: Do not drop Linux-internal extensions
The Linux-internal Xlinuxenvcfg ISA extension is omitted from the
riscv_isa_ext array because it has no DT binding and should not appear
in /proc/cpuinfo. The logic added in commit 625034abd52a ("riscv: add
ISA extensions validation callback") assumes all extensions are included
in riscv_isa_ext, and so riscv_resolve_isa() wrongly drops Xlinuxenvcfg
from the final ISA string. Instead, accept such Linux-internal ISA
extensions as if they have no validation callback.
Fixes: 625034abd52a ("riscv: add ISA extensions validation callback")
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20240718213011.2600150-1-samuel.holland@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/bench')
0 files changed, 0 insertions, 0 deletions