riscv: hwprobe: export Zfh[min] ISA extensions
authorClément Léger <cleger@rivosinc.com>
Tue, 14 Nov 2023 14:12:46 +0000 (09:12 -0500)
committerPalmer Dabbelt <palmer@rivosinc.com>
Tue, 12 Dec 2023 23:45:07 +0000 (15:45 -0800)
commitbf4cd84111c6139313504310ff934df901a5ed3e
tree7d069106704df819a66fc9bd827b61e8dc77af36
parent11e8e1ee2c223585f1776e5c5d21bdae7184ca34
riscv: hwprobe: export Zfh[min] ISA extensions

Export Zfh[min] ISA extensions[1] through hwprobe only if FPU support
is available.

Link: https://drive.google.com/file/d/1z3tQQLm5ALsAD77PM0l0CHnapxWCeVzP/view
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-11-cleger@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Documentation/arch/riscv/hwprobe.rst
arch/riscv/include/uapi/asm/hwprobe.h
arch/riscv/kernel/sys_riscv.c