Re: [PATCH v3 4/5] riscv: compat_vdso: Build with zacas if available

From: Vivian Wang

Date: Fri Jul 17 2026 - 08:46:15 EST


On 7/17/26 20:38, Vivian Wang wrote:

> Hi Nam,
> [...]
>
> I recently found out that we add and *only* add Zacas and Zabha to the

So ... okay, this is not strictly true, since we add F, D, V sometimes
as well, but those have their own state and need special handling so
it's not the same thing. And also they're only added for *some*
compilation units.

> global -march for kernel code, just for use in assembly code in
> arch/riscv/include/asm/cmpxchg.h.