linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Native and emulated one-byte cmpxcha()g for v6.10
@ 2024-05-12 17:28 Paul E. McKenney
  2024-05-13 17:27 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Paul E. McKenney @ 2024-05-12 17:28 UTC (permalink / raw)
  To: torvalds
  Cc: linux-kernel, linux-arch, linux-csky, kernel-team, viro, elver,
	akpm, tglx, peterz, dianders, pmladek, arnd, yujie.liu, guoren

Hello, Linus,

Please pull the following cmpxchg()-related changes:

  git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git tags/cmpxchg.2024.05.11a
  # HEAD: 5800e77d88c0cd98bc10460df148631afa7b5e4d: csky: Emulate one-byte cmpxchg (2024-05-11 07:07:07 -0700)

Please note that the commit and tag are quite recent.  However, the
only change was to add the architecture maintainer'a ack.  The exact
same change (other than the ack) has been in -next for quite some time.

Of course, if you would prefer that this exact commit be in -next for a
decent interval, please let me know and I will be happy to re-send this
pull request after a few days in -next.

----------------------------------------------------------------
sparc32,parisc,csky: Provide one-byte and two-byte cmpxchg() support

This series provides native one-byte and two-byte cmpxchg() support
for sparc32 and parisc, courtesy of Al Viro.  This support is provided
by the same hashed-array-of-locks technique used for the other atomic
operations provided for these two platforms.

This series also provides emulated one-byte cmpxchg() support for csky
using a new cmpxchg_emu_u8() function that uses a four-byte cmpxchg()
to emulate the one-byte variant.

Similar patches for emulation of one-byte cmpxchg() for arc, sh, and
xtensa have not yet received maintainer acks, so they are slated for
the v6.11 merge window.

----------------------------------------------------------------
Al Viro (8):
      sparc32: make __cmpxchg_u32() return u32
      sparc32: make the first argument of __cmpxchg_u64() volatile u64 *
      sparc32: unify __cmpxchg_u{32,64}
      sparc32: add __cmpxchg_u{8,16}() and teach __cmpxchg() to handle those sizes
      parisc: __cmpxchg_u32(): lift conversion into the callers
      parisc: unify implementations of __cmpxchg_u{8,32,64}
      parisc: add missing export of __cmpxchg_u8()
      parisc: add u16 support to cmpxchg()

Paul E. McKenney (2):
      lib: Add one-byte emulation function
      csky: Emulate one-byte cmpxchg

 arch/Kconfig                        |  3 +++
 arch/csky/Kconfig                   |  1 +
 arch/csky/include/asm/cmpxchg.h     | 10 +++++++
 arch/parisc/include/asm/cmpxchg.h   | 22 +++++++---------
 arch/parisc/kernel/parisc_ksyms.c   |  2 ++
 arch/parisc/lib/bitops.c            | 52 ++++++++++++-------------------------
 arch/sparc/include/asm/cmpxchg_32.h | 20 +++++++-------
 arch/sparc/lib/atomic32.c           | 45 ++++++++++++++------------------
 include/linux/cmpxchg-emu.h         | 15 +++++++++++
 lib/Makefile                        |  1 +
 lib/cmpxchg-emu.c                   | 45 ++++++++++++++++++++++++++++++++
 11 files changed, 133 insertions(+), 83 deletions(-)
 create mode 100644 include/linux/cmpxchg-emu.h
 create mode 100644 lib/cmpxchg-emu.c

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] Native and emulated one-byte cmpxcha()g for v6.10
  2024-05-12 17:28 [GIT PULL] Native and emulated one-byte cmpxcha()g for v6.10 Paul E. McKenney
@ 2024-05-13 17:27 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2024-05-13 17:27 UTC (permalink / raw)
  To: Paul E. McKenney
  Cc: torvalds, linux-kernel, linux-arch, linux-csky, kernel-team,
	viro, elver, akpm, tglx, peterz, dianders, pmladek, arnd,
	yujie.liu, guoren

The pull request you sent on Sun, 12 May 2024 10:28:33 -0700:

> git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git tags/cmpxchg.2024.05.11a

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/2e57d1d6062af11420bc329ca004ebe3f3f6f0ee

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-13 17:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-12 17:28 [GIT PULL] Native and emulated one-byte cmpxcha()g for v6.10 Paul E. McKenney
2024-05-13 17:27 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).