[External] Re: [PATCH v2 0/4] riscv: Add Zalasr ISA extension support

Andrea Parri parri.andrea at gmail.com
Fri Sep 19 00:45:11 PDT 2025


> The existing implementation of spin_unlock, when followed by
> spin_lock, is equal to 'FENCE rw, rw' for operations before

This is not true without Zacas, that is, when using LR/SC: write-to-read
remains unordered in that case.

  Andrea



More information about the linux-riscv mailing list