summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel
diff options
context:
space:
mode:
authorClément Léger <cleger@rivosinc.com>2023-12-20 16:57:21 +0100
committerPalmer Dabbelt <palmer@rivosinc.com>2024-01-10 05:12:29 +0100
commit154a3706122978eeb34d8223d49285ed4f3c61fa (patch)
tree00a1fb20960c5ac54437997b4375c2afb2b0dc6a /arch/riscv/kernel
parentriscv: add ISA extension parsing for Zacas (diff)
downloadlinux-154a3706122978eeb34d8223d49285ed4f3c61fa.tar.xz
linux-154a3706122978eeb34d8223d49285ed4f3c61fa.zip
riscv: hwprobe: export Zacas ISA extension
Export Zacas ISA extension through hwprobe. Signed-off-by: Clément Léger <cleger@rivosinc.com> Link: https://lore.kernel.org/r/20231220155723.684081-6-cleger@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/kernel')
-rw-r--r--arch/riscv/kernel/sys_riscv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/kernel/sys_riscv.c b/arch/riscv/kernel/sys_riscv.c
index 6564fa9e7a7f..6c680c75ac0d 100644
--- a/arch/riscv/kernel/sys_riscv.c
+++ b/arch/riscv/kernel/sys_riscv.c
@@ -175,6 +175,7 @@ static void hwprobe_isa_ext0(struct riscv_hwprobe *pair,
EXT_KEY(ZKT);
EXT_KEY(ZIHINTNTL);
EXT_KEY(ZTSO);
+ EXT_KEY(ZACAS);
if (has_vector()) {
EXT_KEY(ZVBB);