Re: [PATCH 3/4] sparc32: implement futex atomics, with casa detected at run time
From: Arnd Bergmann
Date: Thu Oct 15 2026 - 05:25:41 EST
On Thu, Oct 15, 2026, at 10:55, Ramin Moussavi wrote:
> sparc32 has no futex_atomic_cmpxchg_inatomic() or
> arch_futex_atomic_op_inuser() of its own. The generic versions only
> work on UP, so FUTEX depends on !(SPARC32 && SMP) and an SMP kernel
> has no futexes at all; NPTL cannot run on it.
I believe there are existing patches for LEON with CASA that
should just be merged, I would not worry about supporting broken
CPUs that never had this.
Arnd