summaryrefslogtreecommitdiff
path: root/arch/riscv/kernel
diff options
context:
space:
mode:
authorClément Léger <cleger@rivosinc.com>2023-11-14 09:12:49 -0500
committerPalmer Dabbelt <palmer@rivosinc.com>2023-12-12 15:45:10 -0800
commit74ba42b250a7339c72e5803490b1ea42c3556f26 (patch)
tree74c722b0d5960140c3bdbac3693f4c295d504592 /arch/riscv/kernel
parenteddbfa0d849fa5a315840e8c501962252b48484d (diff)
riscv: hwprobe: export Zhintntl ISA extension
Export Zihintntl extension[1] through hwprobe. Link: https://drive.google.com/file/d/13_wsN8YmRfH8YWysFyTX-DjTkCnBd9hj/view [1] Signed-off-by: Clément Léger <cleger@rivosinc.com> Reviewed-by: Evan Green <evan@rivosinc.com> Link: https://lore.kernel.org/r/20231114141256.126749-14-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 d776c6c39fcd..a46e4f6821dd 100644
--- a/arch/riscv/kernel/sys_riscv.c
+++ b/arch/riscv/kernel/sys_riscv.c
@@ -173,6 +173,7 @@ static void hwprobe_isa_ext0(struct riscv_hwprobe *pair,
EXT_KEY(ZKSED);
EXT_KEY(ZKSH);
EXT_KEY(ZKT);
+ EXT_KEY(ZIHINTNTL);
if (has_vector()) {
EXT_KEY(ZVBB);