Re: [PATCH 1/2] powerpc: Send SIGBUS on unaligned copy and paste

2016-06-13 Thread Chris Smart
On Thu, Jun 09, 2016 at 08:57:50AM +0200, Christophe Leroy wrote: Le 09/06/2016 à 08:01, Chris Smart a écrit : 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

Re: [PATCH 1/2] powerpc: Send SIGBUS on unaligned copy and paste

2016-06-09 Thread Christophe Leroy
Le 09/06/2016 à 08:01, Chris Smart a écrit : 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

[PATCH 1/2] powerpc: Send SIGBUS on unaligned copy and paste

2016-06-09 Thread Chris Smart
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