Skip to content

RFC riscv: Add Zalasr ISA exntesion support

Xu Lu linux-riscv lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4riscv: add ISA extension parsing for Zalasrarch/riscv/include/asm/hwcap.h arch/riscv/kernel/cpufeature.c+2 -00 replies
2/4dt-bindings: riscv: Add Zalasr ISA extension descriptionDocumentation/devicetree/bindings/riscv/extensions.yaml+5 -00 replies
3/4riscv: Instroduce Zalasr instructionsarch/riscv/include/asm/insn-def.h+79 -00 replies
4/4riscv: Use Zalasr for smp_load_acquire/smp_store_releasearch/riscv/include/asm/barrier.h+68 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/4] riscv: Add Zalasr ISA exntesion support

This patch adds support for the Zalasr ISA extension, which supplies the real load acquire/store release instructions.

The specification can be found here:
https://github.com/riscv/riscv-zalasr/blob/main/chapter2.adoc

Xu Lu (4):
riscv: add ISA extension parsing for Zalasr
dt-bindings: riscv: Add Zalasr ISA extension description
riscv: Instroduce Zalasr instructions
riscv: Use Zalasr for smp_load_acquire/smp_store_release

 .../devicetree/bindings/riscv/extensions.yaml |  5 ++
 arch/riscv/include/asm/barrier.h              | 79 ++++++++++++++++---
 arch/riscv/include/asm/hwcap.h                |  1 +
 arch/riscv/include/asm/insn-def.h             | 79 +++++++++++++++++++
 arch/riscv/kernel/cpufeature.c                |  1 +
 5 files changed, 154 insertions(+), 11 deletions(-)
Signature · 1 line
2.20.1