summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/sys_hwprobe.c
diff options
context:
space:
mode:
authorClément Léger <cleger@rivosinc.com>2024-06-19 13:35:13 +0200
committerPalmer Dabbelt <palmer@rivosinc.com>2024-06-26 16:54:47 +0200
commit36f8960de887a5e2811c5d1c0517cfa6f419c1c4 (patch)
tree64ee3eadd60d16062983445e53366aa91bd0600b /arch/riscv/kernel/sys_hwprobe.c
parentriscv: add ISA extension parsing for Zimop (diff)
downloadlinux-36f8960de887a5e2811c5d1c0517cfa6f419c1c4.tar.xz
linux-36f8960de887a5e2811c5d1c0517cfa6f419c1c4.zip
riscv: hwprobe: export Zimop ISA extension
Export Zimop ISA extension through hwprobe. Signed-off-by: Clément Léger <cleger@rivosinc.com> Reviewed-by: Charlie Jenkins <charlie@rivosinc.com> Link: https://lore.kernel.org/r/20240619113529.676940-4-cleger@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/kernel/sys_hwprobe.c')
-rw-r--r--arch/riscv/kernel/sys_hwprobe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/kernel/sys_hwprobe.c b/arch/riscv/kernel/sys_hwprobe.c
index 83fcc939df67..04a2ed4ee415 100644
--- a/arch/riscv/kernel/sys_hwprobe.c
+++ b/arch/riscv/kernel/sys_hwprobe.c
@@ -112,6 +112,7 @@ static void hwprobe_isa_ext0(struct riscv_hwprobe *pair,
EXT_KEY(ZACAS);
EXT_KEY(ZICOND);
EXT_KEY(ZIHINTPAUSE);
+ EXT_KEY(ZIMOP);
/*
* All the following extensions must depend on the kernel