]> git.ipfire.org Git - thirdparty/linux.git/commit
riscv: hwprobe: export Zicntr and Zihpm extensions
authorMiquel Sabaté Solà <mikisabate@gmail.com>
Fri, 13 Sep 2024 05:13:24 +0000 (07:13 +0200)
committerAlexandre Ghiti <alexghiti@rivosinc.com>
Tue, 18 Mar 2025 09:10:22 +0000 (09:10 +0000)
commit4458b8f68dc7ab8309291f1667157d0250938291
tree17c8fae850cb6a2a836921601ff82b558cc87d90
parentd3817d091fe6480de5bf3faba0fc2ce25f8d023e
riscv: hwprobe: export Zicntr and Zihpm extensions

Export Zicntr and Zihpm ISA extensions through the hwprobe syscall.

[ alex: Fix hwprobe numbering ]

Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Acked-by: Jesse Taube <jesse@rivosinc.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240913051324.8176-1-mikisabate@gmail.com
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Documentation/arch/riscv/hwprobe.rst
arch/riscv/include/uapi/asm/hwprobe.h
arch/riscv/kernel/sys_hwprobe.c