[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231011111438.909552-1-cleger@rivosinc.com>
Date: Wed, 11 Oct 2023 13:14:25 +0200
From: Clément Léger <cleger@...osinc.com>
To: linux-riscv@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org
Cc: Clément Léger <cleger@...osinc.com>,
Palmer Dabbelt <palmer@...osinc.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Albert Ou <aou@...s.berkeley.edu>,
Jonathan Corbet <corbet@....net>,
Andrew Jones <ajones@...tanamicro.com>,
Evan Green <evan@...osinc.com>, Conor Dooley <conor@...nel.org>
Subject: [PATCH v1 00/13] riscv: report more ISA extensions through hwprobe
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
Powered by blists - more mailing lists