linux_dsm_epyc7002/arch/s390/include
Vasily Gorbik 4ac24c092b s390: fix register clobbering in CALL_ON_STACK
CALL_ON_STACK defines and initializes register variables. Inline
assembly which follows might trigger compiler to generate memory access
for "stack" argument (e.g. in case of S390_lowcore.nodat_stack). This
memory access produces a function call under kasan with outline
instrumentation which clobbers registers.

Switch "stack" argument in CALL_ON_STACK helper to use memory reference
constraint and perform load instead.

Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2019-11-30 10:52:47 +01:00
..
asm s390: fix register clobbering in CALL_ON_STACK 2019-11-30 10:52:47 +01:00
uapi/asm s390 updates for the 5.4 merge window #2 2019-09-26 11:30:16 -07:00