selftests/powerpc: Add alignment handler selftest
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>
Mon, 16 Oct 2017 05:04:02 +0000 (16:04 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 21 Jan 2018 18:48:34 +0000 (05:48 +1100)
commit8d1915873d492b8e1f03bbcab527db62a8d49542
tree04130f96b9f33e39652d7b1455c5ca165afd036a
parent57ad583f2086d55ada284c54bfc440123cf73964
selftests/powerpc: Add alignment handler selftest

Add a selftest to exercise the powerpc alignment fault handler.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
[mpe: Add 32-bit support to the signal handler]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/alignment/Makefile
tools/testing/selftests/powerpc/alignment/alignment_handler.c [new file with mode: 0644]