News: 0001574507

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

RISC-V Zalasr Support Now Under Review For The Linux Kernel

([RISC-V] 6 Hours Ago RISC-V Zalasr)


Linux kernel patches for supporting RISC-V's Zalasr ISA extension are now under review. This extension provides "real" load acquire/store release instructions for RISC-V processors.

Zalasr provides atomic Load-Acquire Store-Release support. Its [1]v0.9 ISA spec was finalized two months ago and its public review period wrapped up in August.

Given the freshness of the Zalasr ISA exntesion, the Linux kernel support patches have so far only been tested with a patched version of QEMU providing its emulated Zalasr support. Within the Linux kernel, Zalasr can be used for the smp_load_acquire and smp_store_release functionality in place of fence instructions.

Those interested in RISC-V Zalasr support can see [2]this mailing list patch series for that pending Linux kernel support.



[1] https://github.com/riscv/riscv-zalasr

[2] https://lore.kernel.org/lkml/20250901113022.3812-1-luxu.kernel@bytedance.com/



phoronix

You'll learn something about men and women -- the way they're supposed
to be. Caring for each other, being happy with each other, being good
to each other. That's what we call love. You'll like that a lot.
-- Kirk, "The Apple", stardate 3715.6