[GIT PULL] Emulated one-byte cmpxchg() for ARC and sh
From: Paul E. McKenney
Date: Sat Sep 14 2024 - 03:30:58 EST
Hello, Linux,
Please pull the following cmpxchg()-related changes:
git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git tags/cmpxchg.2024.09.14a
# HEAD: c81a748edefd098ea21dd35d4bba03f69412fc26: sh: Emulate one-byte cmpxchg (2024-09-13 07:10:38 -0700)
----------------------------------------------------------------
ARC/sh: Provide one-byte cmpxchg emulation
This series provides emulated one-byte cmpxchg() support for ARM and
sh using the cmpxchg_emu_u8() function that uses a four-byte cmpxchg()
to emulate the one-byte variant.
A similar patch for emulation of one-byte cmpxchg() for xtensa has not yet
received a maintainer ack, so it is slated for the v6.13 merge window.
If you are not that patient, there is another signed tag covering all
three (ARC, sh, and xtensa) named cmpxchg.2024.09.15a.
----------------------------------------------------------------
Paul E. McKenney (2):
ARC: Emulate one-byte cmpxchg
sh: Emulate one-byte cmpxchg
arch/arc/Kconfig | 1 +
arch/arc/include/asm/cmpxchg.h | 6 ++++--
arch/sh/Kconfig | 1 +
arch/sh/include/asm/cmpxchg.h | 3 +++
4 files changed, 9 insertions(+), 2 deletions(-)