aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kcmp
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>2019-04-29 11:28:02 -0400
committerShuah Khan <skhan@linuxfoundation.org>2019-05-07 15:33:09 -0600
commit16b96b6ed87faa616e2d2750ba44d78ee157ce26 (patch)
treeab2eaa52ea2811de78929930ee3bc7b95fd3f255 /tools/testing/selftests/kcmp
parentrseq/selftests: powerpc code signature: generate valid instructions (diff)
downloadlinux-dev-16b96b6ed87faa616e2d2750ba44d78ee157ce26.tar.xz
linux-dev-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 'tools/testing/selftests/kcmp')
0 files changed, 0 insertions, 0 deletions