[PATCH v2 0/6] riscv: hwprobe: add Zicond, Zacas and Ztso support

Clément Léger cleger at rivosinc.com
Wed Dec 20 07:57:16 PST 2023


This series add support for a few more extensions that are present in
the RVA22U64/RVA23U64 (either mandatory or optional) and that are useful
for userspace:
- Zicond
- Zacas
- Ztso

Series currently based on riscv/for-next.

---

Changes in V2:
 - Removed Zam which is not yet ratified
 - Link to v1: https://lore.kernel.org/linux-riscv/20231213113308.133176-1-cleger@rivosinc.com/

Clément Léger (6):
  riscv: add ISA extension parsing for Ztso
  riscv: hwprobe: export Ztso ISA extension
  dt-bindings: riscv: add Zacas ISA extension description
  riscv: add ISA extension parsing for Zacas
  riscv: hwprobe: export Zacas ISA extension
  riscv: hwprobe: export Zicond extension

 Documentation/arch/riscv/hwprobe.rst                | 13 +++++++++++++
 .../devicetree/bindings/riscv/extensions.yaml       |  6 ++++++
 arch/riscv/include/asm/hwcap.h                      |  2 ++
 arch/riscv/include/uapi/asm/hwprobe.h               |  3 +++
 arch/riscv/kernel/cpufeature.c                      |  2 ++
 arch/riscv/kernel/sys_riscv.c                       |  3 +++
 6 files changed, 29 insertions(+)

-- 
2.43.0




More information about the linux-riscv mailing list