[GIT PULL] Emulated one-byte cmpxchg() for ARC and sh
Paul E. McKenney
paulmck at kernel.org
Sat Sep 14 00:30:48 PDT 2024
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(-)
More information about the linux-arm-kernel
mailing list