linux/arch/s390/lib
Martin Schwidefsky 7f7e6e28cd s390/spinlock: add niai spinlock hints
The z14 machine introduces new mode of the next-instruction-access-intent
NIAI instruction. With NIAI-8 it is possible to pin a cache-line on a
CPU for a small amount of time, NIAI-7 releases the cache-line again.
Finally NIAI-4 can be used to prevent the CPU to speculatively access
memory beyond the compare-and-swap instruction to get the lock.

Use these instruction in the spinlock code.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2017-07-26 08:25:23 +02:00
..
delay.c s390/time: add support for the TOD clock epoch extension 2017-07-26 08:25:14 +02:00
find.c s390/bitops: remove 31 bit related comments 2015-10-14 14:32:15 +02:00
Makefile s390/xor: optimized xor routing using the XC instruction 2016-02-23 08:56:17 +01:00
mem.S s390/lib: improve memmove, memset and memcpy 2017-01-16 07:27:51 +01:00
probes.c s390/uprobes: fix compile for !KPROBES 2017-05-03 09:08:57 +02:00
spinlock.c s390/spinlock: add niai spinlock hints 2017-07-26 08:25:23 +02:00
string.c s390: Audit and remove any remaining unnecessary uses of module.h 2017-02-17 07:40:41 +01:00
uaccess.c s390/uaccess: use sane length for __strncpy_from_user() 2017-05-09 10:43:24 +02:00
xor.c s390: Audit and remove any remaining unnecessary uses of module.h 2017-02-17 07:40:41 +01:00