[PATCH] ARC: atomics: Implement arch_atomic64_cmpxchg using _relaxed

Jason Gunthorpe jgg at nvidia.com
Mon Jun 9 06:14:49 PDT 2025


On Sun, Apr 27, 2025 at 07:34:55PM -0700, Vineet Gupta wrote:
> Thx for this.
> 
> FWIW I missed the cmpxchg API when the rest of atomics were relaxed in commit
> 301014cf6d728 ("ARC: atomic_cmpxchg/atomic_xchg: implement relaxed variants")
> 
> Added to ARC for-curr (for next)

I'm looking at v6.16-rc1 and I don't see this patch???

It is in linux-next though:

commit ef7647b215c919a82ee3235b80998c9bb3a915a3
Author: Jason Gunthorpe <jgg at ziepe.ca>
Date:   Tue Apr 8 14:22:56 2025 -0300

    ARC: atomics: Implement arch_atomic64_cmpxchg using _relaxed

Jason



More information about the linux-snps-arc mailing list