diff options
author | 2023-07-13 13:11:00 +0100 | |
---|---|---|
committer | 2023-07-25 16:26:16 -0700 | |
commit | 67270fb388feb3ab7b8f1c8e2825d43237ffa7a0 (patch) | |
tree | e5da02a3e58f9295b64b39c1d4d9380db7f11eb9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RISC-V: Provide a more helpful error message on invalid ISA strings (diff) | |
download | wireguard-linux-67270fb388feb3ab7b8f1c8e2825d43237ffa7a0.tar.xz wireguard-linux-67270fb388feb3ab7b8f1c8e2825d43237ffa7a0.zip |
RISC-V: don't parse dt/acpi isa string to get rv32/rv64
When filling hwcap the kernel already expects the isa string to start with
rv32 if CONFIG_32BIT and rv64 if CONFIG_64BIT.
So when recreating the runtime isa-string we can also just go the other way
to get the correct starting point for it.
Signed-off-by: Heiko Stuebner <heiko.stuebner@vrull.eu>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Evan Green <evan@rivosinc.com>
Co-developed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230713-masculine-saddlebag-67a94966b091@wendy
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