Re: [PATCH] uapi: fix asm/signal.h userspace compilation errors

2017-03-06 Thread Carlos O'Donell
On Fri, Mar 3, 2017 at 8:23 PM, Carlos O'Donell wrote: > On Thu, Mar 2, 2017 at 10:48 AM, Dmitry V. Levin wrote: >> On Thu, Mar 02, 2017 at 10:22:18AM -0500, Carlos O'Donell wrote: >>> On Wed, Mar 1, 2017 at 11:20 AM, Arnd Bergmann wrote: >>> > On Sun,

Re: [PATCH] uapi: fix asm/signal.h userspace compilation errors

2017-03-03 Thread Carlos O'Donell
On Thu, Mar 2, 2017 at 10:48 AM, Dmitry V. Levin wrote: > On Thu, Mar 02, 2017 at 10:22:18AM -0500, Carlos O'Donell wrote: >> On Wed, Mar 1, 2017 at 11:20 AM, Arnd Bergmann wrote: >> > On Sun, Feb 26, 2017 at 2:01 AM, Dmitry V. Levin wrote: >> >> Include (gu

Re: [PATCH] uapi: fix asm/signal.h userspace compilation errors

2017-03-02 Thread Carlos O'Donell
On Wed, Mar 1, 2017 at 11:20 AM, Arnd Bergmann wrote: > On Sun, Feb 26, 2017 at 2:01 AM, Dmitry V. Levin wrote: >> Include (guarded by #ifndef __KERNEL__) to fix asm/signal.h >> userspace compilation errors like this: >> >> /usr/include/asm/signal.h:126:2: error: unknown type name 'size_t' >>

Re: [PATCH] Add hwcap2 bits for POWER9

2016-01-12 Thread Carlos O'Donell
On 01/12/2016 11:39 AM, Steven Munroe wrote: >> That's the rule. There are no other discussions to be had. >> > Well is was posted to to powerpc next: > https://git.kernel.org/powerpc/c/e708c24cd01ce80b1609d8bacc > > We have agreement between the kernel and GLIBC (and the ABI). > > The issue is

Re: [PATCH] Add hwcap2 bits for POWER9

2016-01-11 Thread Carlos O'Donell
On 01/11/2016 02:55 PM, Tulio Magno Quites Machado Filho wrote: > "Carlos O'Donell" writes: > >> On 01/11/2016 10:16 AM, Tulio Magno Quites Machado Filho wrote: >>> Adhemerval Zanella writes: >>> >>>> On 08-01-2016 13:36, Peter Bergner wr

Re: [PATCH] Add hwcap2 bits for POWER9

2016-01-11 Thread Carlos O'Donell
On 01/11/2016 10:16 AM, Tulio Magno Quites Machado Filho wrote: > Adhemerval Zanella writes: > >> On 08-01-2016 13:36, Peter Bergner wrote: >>> On Fri, 2016-01-08 at 11:25 -0200, Tulio Magno Quites Machado Filho wrote: Peter, this solves the issue you reported previously [1]. [1] h

Re: [PATCH] powerpc/signals: Mark VSX not saved with small contexts

2013-11-21 Thread Carlos O'Donell
On 11/21/2013 07:53 PM, Carlos O'Donell wrote: > The addition of the *context functions in glibc for 64-bit power > happened in 2003 by glibc commit 609b4783, with the mcontext_t > being expanded to include ... support for VMX state via `long vmx_reserve[NVRREG+NVRREG+1];

Re: [PATCH] powerpc/signals: Mark VSX not saved with small contexts

2013-11-21 Thread Carlos O'Donell
On 11/21/2013 05:21 PM, Michael Neuling wrote: >>> What about the 64-bit code? I don't know the code but it appears at a >>> glance to >>> have the same bug. >> >> It doesn't happen with 64-bit code because there the context contains >> a sigcontext which on ppc64 has vmx_reserve to store the en

Re: [PATCH] powerpc/signals: Mark VSX not saved with small contexts

2013-11-21 Thread Carlos O'Donell
On 11/21/2013 06:33 AM, Michael Ellerman wrote: > On Wed, Nov 20, 2013 at 04:18:54PM +1100, Michael Neuling wrote: >> The VSX MSR bit in the user context indicates if the context contains VSX >> state. Currently we set this when the process has touched VSX at any stage. >> >> Unfortunately, if the