[PATCH bpf-next 09/10] riscv, bpf: Add support arena atomics for RV64

Björn Töpel bjorn at kernel.org
Mon Aug 4 23:35:01 PDT 2025


Pu Lehui <pulehui at huaweicloud.com> writes:

> From: Pu Lehui <pulehui at huawei.com>
>
> Add arena atomics support for RMW atomics and load-acquire and
> store-release instructions. Non-Zacas cmpxchg is implemented via loop,
> which is not currently supported because it requires more complex
> extable and loop logic.
>
> Signed-off-by: Pu Lehui <pulehui at huawei.com>

Reviewed-by: Björn Töpel <bjorn at rivosinc.com>



More information about the linux-riscv mailing list