Re: [PATCH V2 4/8] powerpc: Explicitly disable math features when copying thread

2016-01-14 Thread Michael Neuling
On Fri, 2016-01-15 at 16:54 +1100, Cyril Bur wrote: > On Fri, 15 Jan 2016 16:42:22 +1100 > Michael Neuling wrote: > > > On Fri, 2016-01-15 at 16:04 +1100, Cyril Bur wrote: > > > With threads leaving the math bits enabled in their saved MSR to > > > indicate > > > that the hardware is hot and a re

Re: [PATCH V2 4/8] powerpc: Explicitly disable math features when copying thread

2016-01-14 Thread Cyril Bur
On Fri, 15 Jan 2016 16:42:22 +1100 Michael Neuling wrote: > On Fri, 2016-01-15 at 16:04 +1100, Cyril Bur wrote: > > With threads leaving the math bits enabled in their saved MSR to indicate > > that the hardware is hot and a restore is not needed, children need to turn > > it off as when they do

Re: [PATCH V2 4/8] powerpc: Explicitly disable math features when copying thread

2016-01-14 Thread Michael Neuling
On Fri, 2016-01-15 at 16:04 +1100, Cyril Bur wrote: > With threads leaving the math bits enabled in their saved MSR to indicate > that the hardware is hot and a restore is not needed, children need to turn > it off as when they do get scheduled, there's no way their registers could > have been hot.

[PATCH V2 4/8] powerpc: Explicitly disable math features when copying thread

2016-01-14 Thread Cyril Bur
With threads leaving the math bits enabled in their saved MSR to indicate that the hardware is hot and a restore is not needed, children need to turn it off as when they do get scheduled, there's no way their registers could have been hot. Signed-off-by: Cyril Bur --- arch/powerpc/kernel/process