s390: don't use 128-bit cmpxchg for READ_ONCE() purposes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | s390/rwonce: add READ_ONCE_ALIGNED_128() macroarch/ | +31 | 3 replies | |
| 2/2 | s390/cpum_sf: use READ_ONCE_ALIGNED_128() instead of 128-bit cmpxchgarch/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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