Sven Schnelle ca1f4d702d s390: clear pt_regs::flags on irq entry
The current irq entry code doesn't initialize pt_regs::flags. On exit to
user mode arch_do_signal_or_restart() tests whether PIF_SYSCALL is set,
which might yield wrong results.

Fix this by clearing pt_regs::flags in the entry.S irq handler
code.

Reported-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Fixes: 56e62a737028 ("s390: convert to generic entry")
Cc: <stable@vger.kernel.org> # 5.12
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2021-06-21 11:19:18 +02:00
..
2021-02-13 17:17:54 +01:00
2021-01-19 12:29:26 +01:00
2021-02-13 17:17:54 +01:00
2021-04-18 21:32:02 +02:00
2021-01-19 12:29:26 +01:00
2020-12-17 13:22:17 -08:00
2021-04-18 21:32:02 +02:00
2020-06-29 16:31:46 +02:00
2021-04-12 12:46:41 +02:00
2021-01-19 12:29:26 +01:00
2021-03-22 11:36:05 +01:00
2021-01-19 12:29:26 +01:00
2021-01-19 12:29:26 +01:00