summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/qdio.h
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2018-06-21 15:49:38 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-06-25 11:07:12 +0300
commit891f6a726cacbb87e5b06076693ffab53bd378d7 (patch)
treeb3fba7233d00da1bcb81a67ac04b73a997e40d16 /arch/s390/include/asm/qdio.h
parent7daf201d7fe8334e2d2364d4e8ed3394ec9af819 (diff)
downloadlinux-891f6a726cacbb87e5b06076693ffab53bd378d7.tar.xz
s390: Correct register corruption in critical section cleanup
In the critical section cleanup we must not mess with r1. For march=z9 or older, larl + ex (instead of exrl) are used with r1 as a temporary register. This can clobber r1 in several interrupt handlers. Fix this by using r11 as a temp register. r11 is being saved by all callers of cleanup_critical. Fixes: 6dd85fbb87 ("s390: move expoline assembler macros to a header") Cc: stable@vger.kernel.org #v4.16 Reported-by: Oliver Kurz <okurz@suse.com> Reported-by: Petr Tesařík <ptesarik@suse.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/qdio.h')
0 files changed, 0 insertions, 0 deletions