commit | 434b26605f6cc500c1a995587e5c4bc4bc1693c6 | [log] [tgz] |
---|---|---|
author | Heiko Carstens <hca@linux.ibm.com> | Fri Feb 24 11:02:36 2023 +0100 |
committer | Heiko Carstens <hca@linux.ibm.com> | Tue Feb 28 13:19:05 2023 +0100 |
tree | 6a8fc7fdd6f59486387ce18a1e325e8247457f71 | |
parent | ebf95e884694b2c796ecb53d80d2b4cff8990d2f [diff] |
s390/rwonce: add READ_ONCE_ALIGNED_128() macro Add an s390 specific READ_ONCE_ALIGNED_128() helper, which can be used for fast block concurrent (atomic) 128-bit accesses. The used lpq instruction requires 128-bit alignment. This is also the reason why the compiler doesn't emit this instruction if __READ_ONCE() is used for 128-bit accesses. Link: https://lore.kernel.org/r/20230224100237.3247871-2-hca@linux.ibm.com Signed-off-by: Heiko Carstens <hca@linux.ibm.com>