[RFC PATCH 0/4] riscv: Add Zalasr ISA exntesion support
Xu Lu
luxu.kernel at bytedance.com
Tue Aug 26 07:57:36 PDT 2025
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(-)
--
2.20.1
More information about the linux-riscv
mailing list