diff options
author | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | 2019-04-29 17:28:02 +0200 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2019-05-07 23:33:09 +0200 |
commit | 16b96b6ed87faa616e2d2750ba44d78ee157ce26 (patch) | |
tree | ab2eaa52ea2811de78929930ee3bc7b95fd3f255 /Documentation/translations | |
parent | rseq/selftests: powerpc code signature: generate valid instructions (diff) | |
download | linux-16b96b6ed87faa616e2d2750ba44d78ee157ce26.tar.xz linux-16b96b6ed87faa616e2d2750ba44d78ee157ce26.zip |
rseq/selftests: mips: use break instruction for RSEQ_SIG
Use break as guard instruction for the restartable sequence abort
handler.
Previously, the chosen signature was simply data, based on the
assumption that it could always sit in a literal pool. However,
some compilation environments favor disabling literal pool. Therefore,
ensure the signature is a valid uncommon trap instruction.
Suggested-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CC: Paul Burton <paul.burton@mips.com>
CC: James Hogan <jhogan@kernel.org>
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
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'Documentation/translations')
0 files changed, 0 insertions, 0 deletions