riscv: add ISA extension parsing for Ztso
authorClément Léger <cleger@rivosinc.com>
Wed, 20 Dec 2023 15:57:17 +0000 (16:57 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 10 Jan 2024 04:12:25 +0000 (20:12 -0800)
commit1ec9f381e84877085ed4ce891e89172f8494ddb8
tree70c22c0d93654c7220c86a3c610df5358fc09a06
parent9726acfdfa3bbf324b305e0b32fc028c278f6d43
riscv: add ISA extension parsing for Ztso

Add support to parse the Ztso string in the riscv,isa string. The
bindings already supports it but not the ISA parsing code.

Signed-off-by: Clément Léger <cleger@rivosinc.com>
Link: https://lore.kernel.org/r/20231220155723.684081-2-cleger@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/hwcap.h
arch/riscv/kernel/cpufeature.c