Paul Burton 9bcf53598d
MIPS: Add syscall detection for restartable sequences
Syscalls are not allowed inside restartable sequences, so add a call to
rseq_syscall() at the very beginning of the system call exit path when
CONFIG_DEBUG_RSEQ=y. This will help us to detect whether there is a
syscall issued erroneously inside a restartable sequence.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Reviewed-by: James Hogan <jhogan@kernel.org>
Patchwork: https://patchwork.linux-mips.org/patch/19522/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
2018-06-19 21:13:56 -07:00
..
2018-02-19 10:55:36 +00:00
2018-06-12 16:19:22 -07:00
2018-06-12 12:56:02 -07:00
2018-06-12 12:56:02 -07:00
2018-06-12 11:34:04 -07:00
2018-06-12 12:56:02 -07:00
2018-06-12 12:56:02 -07:00
2018-05-14 19:11:45 -07:00
2018-06-07 12:45:58 -07:00
2018-06-12 12:56:02 -07:00
2017-11-03 09:02:30 -07:00
2018-06-12 16:19:22 -07:00