Searched hist:"434 b2660" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/s390/include/asm/ |
H A D | rwonce.h | 434b2660 Fri Feb 24 04:02:36 CST 2023 Heiko Carstens <hca@linux.ibm.com> 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>
|