diff options
author | Chris Smart <chris@distroguy.com> | 2016-06-16 23:33:45 (GMT) |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-07-05 13:49:51 (GMT) |
commit | ae26b36f8098c793a754549662771099215904ed (patch) | |
tree | 766addae9b10b81a171235bfb289e448f1784f2e /tools/testing/selftests/powerpc | |
parent | 0c63e8b7b97fb72ef38c8edbfbe751d3602e03a1 (diff) | |
download | linux-ae26b36f8098c793a754549662771099215904ed.tar.xz |
powerpc: Send SIGBUS on unaligned copy and paste
Calling ISA 3.0 instructions copy, copy_first, paste and paste_last
generates an alignment fault when copying or pasting unaligned
data (128 byte). We catch this and send SIGBUS to the userspace
process that caused it.
We do not emulate these because paste may contain additional metadata
when pasting to a co-processor and paste_last is the synchronisation
point for preceding copy/paste sequences.
Thanks to Michael Neuling <mikey@neuling.org> for his help.
Signed-off-by: Chris Smart <chris@distroguy.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/testing/selftests/powerpc')
0 files changed, 0 insertions, 0 deletions