Skip to content

s390: don't use 128-bit cmpxchg for READ_ONCE() purposes

Heiko Carstens linux-s390 lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2s390/rwonce: add READ_ONCE_ALIGNED_128() macroarch/s390/include/asm/rwonce.h+31 -03 replies
2/2s390/cpum_sf: use READ_ONCE_ALIGNED_128() instead of 128-bit cmpxchgarch/s390/kernel/perf_cpum_sf.c+3 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] s390: don't use 128-bit cmpxchg for READ_ONCE() purposes

Introduce and use an s390 specific READ_ONCE_ALIGNED_128() macro in order to get rid of the odd 128-bit cmpxchg READ_ONCE() usage in cpum_sf, which was introduced with commit 82d3edb50a11 ("s390/cpum_sf: add READ_ONCE() semantics to compare and swap loops").

Heiko Carstens (2):
s390/rwonce: add READ_ONCE_ALIGNED_128() macro s390/cpum_sf: use READ_ONCE_ALIGNED_128() instead of 128-bit cmpxchg

 arch/s390/include/asm/rwonce.h  | 31 +++++++++++++++++++++++++++++++
 arch/s390/kernel/perf_cpum_sf.c |  9 +++------
 2 files changed, 34 insertions(+), 6 deletions(-)
 create mode 100644 arch/s390/include/asm/rwonce.h
Signature · 1 line
2.37.2