Re: [Qemu-devel] [PATCH v4] ppc: Fix signal delivery in ppc-user and ppc64-user

2016-09-11 Thread David Gibson
On Wed, Aug 03, 2016 at 10:38:51PM +1000, Benjamin Herrenschmidt wrote: > There were a number of bugs in the implementation: > > - The structure alignment was wrong for 64-bit. > > - Also 64-bit only does RT signals. > > - On 64-bit, we need to put a pointer to the (aligned) vector registers

[Qemu-devel] [PATCH v4] ppc: Fix signal delivery in ppc-user and ppc64-user

2016-08-03 Thread Benjamin Herrenschmidt
There were a number of bugs in the implementation: - The structure alignment was wrong for 64-bit. - Also 64-bit only does RT signals. - On 64-bit, we need to put a pointer to the (aligned) vector registers in the frame and use it for restoring - We had endian bugs when saving/restoring