riscv: report more ISA extensions through hwprobe
From: | Clément Léger <cleger-AT-rivosinc.com> | |
To: | linux-riscv-AT-lists.infradead.org, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, linux-doc-AT-vger.kernel.org | |
Subject: | [PATCH v1 00/13] riscv: report more ISA extensions through hwprobe | |
Date: | Wed, 11 Oct 2023 13:14:25 +0200 | |
Message-ID: | <20231011111438.909552-1-cleger@rivosinc.com> | |
Cc: | Clément Léger <cleger-AT-rivosinc.com>, Palmer Dabbelt <palmer-AT-rivosinc.com>, Paul Walmsley <paul.walmsley-AT-sifive.com>, Rob Herring <robh+dt-AT-kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt-AT-linaro.org>, Albert Ou <aou-AT-eecs.berkeley.edu>, Jonathan Corbet <corbet-AT-lwn.net>, Andrew Jones <ajones-AT-ventanamicro.com>, Evan Green <evan-AT-rivosinc.com>, Conor Dooley <conor-AT-kernel.org> | |
Archive-link: | Article |
In order to be able to gather more information about the supported ISA extensions from userspace using the hwprobe syscall, add more ISA extensions report. This series adds the following ISA extensions support: - Zfh[min] - Zvfh[min] - Zihintntl - Zvbb - Zvbc - Zvkb - Zvkg - Zvkned - Zvknh[ab] - Zvksed - Zvksh - Zvkn - Zvknc - Zvkng - Zvks - Zvksc - Zvksg - Zvkt Clément Léger (13): riscv: fatorize hwprobe ISA extension reporting riscv: add ISA extension probing for Zv* extensions riscv: hwprobe: export Zv* ISA extensions dt-bindings: riscv: add Zv* ratified crypto ISA extensions description riscv: add ISA extension probing for Zfh/Zfhmin riscv: hwprobe: export Zfh/Zfhmin ISA extensions dt-bindings: riscv: add Zfh/Zfhmin ISA extensions description riscv: add ISA extension probing for Zihintntl riscv: hwprobe: export Zhintntl ISA extension dt-bindings: riscv: add Zihintntl ISA extension description riscv: add ISA extension probing for Zvfh[min] riscv: hwprobe: export Zvfh[min] ISA extensions dt-bindings: riscv: add Zvfh[min] ISA extension description .../devicetree/bindings/riscv/extensions.yaml | 127 ++++++++++++++++++ Documentation/riscv/hwprobe.rst | 65 +++++++++ arch/riscv/include/asm/hwcap.h | 21 +++ arch/riscv/include/uapi/asm/hwprobe.h | 21 +++ arch/riscv/kernel/cpufeature.c | 21 +++ arch/riscv/kernel/sys_riscv.c | 53 ++++++-- 6 files changed, 294 insertions(+), 14 deletions(-) -- 2.42.0