Re: [PATCH 3/7] [RFC] add support for BlueGene/P FPU

2011-05-19 Thread Benjamin Herrenschmidt
On Thu, 2011-05-19 at 08:53 -0500, Eric Van Hensbergen wrote: > On Thu, May 19, 2011 at 12:58 AM, Michael Neuling wrote: > > Eric, > > > >> This patch adds save/restore register support for the BlueGene/P > >> double hummer FPU. > > > > What does this mean? Needs more details here. > > > > Hi Mi

Re: [PATCH 3/7] [RFC] add support for BlueGene/P FPU

2011-05-19 Thread Benjamin Herrenschmidt
On Thu, 2011-05-19 at 15:58 +1000, Michael Neuling wrote: > > + > > #define SAVE_2GPRS(n, base)SAVE_GPR(n, base); SAVE_GPR(n+1, base) > > #define SAVE_4GPRS(n, base)SAVE_2GPRS(n, base); SAVE_2GPRS(n+2, > > base) > > #define SAVE_8GPRS(n, base)SAVE_4GPRS(n, base); SAVE_4

Re: [PATCH 3/7] [RFC] add support for BlueGene/P FPU

2011-05-19 Thread Michael Neuling
> >> >> > Eric, > >> >> > > >> >> >> This patch adds save/restore register support for the BlueGene/P > >> >> >> double hummer FPU. > >> >> > > >> >> > What does this mean? =3DA0Needs more details here. > >> >> > > >> > >> okay, I've changed it a bit in [V2], if you want more I can do my best. > >

Re: [PATCH 3/7] [RFC] add support for BlueGene/P FPU

2011-05-19 Thread Eric Van Hensbergen
On Thu, May 19, 2011 at 6:16 PM, Michael Neuling wrote: > In message you wrote: >> On Thu, May 19, 2011 at 4:36 PM, Michael Neuling wrote: >> > In message you wrote= >> : >> >> On Thu, May 19, 2011 at 12:58 AM, Michael Neuling wr= >> ote=3D >> >> : >> >> > Eric, >> >> > >> >> >> This patch add

Re: [PATCH 3/7] [RFC] add support for BlueGene/P FPU

2011-05-19 Thread Michael Neuling
In message you wrote: > Damnit Mikey, just after I hit send on [V2]. > > On Thu, May 19, 2011 at 4:36 PM, Michael Neuling wrote: > > In message you wrote= > : > >> On Thu, May 19, 2011 at 12:58 AM, Michael Neuling wr= > ote=3D > >> : > >> > Eric, > >> > > >> >> This patch adds save/restore

Re: [PATCH 3/7] [RFC] add support for BlueGene/P FPU

2011-05-19 Thread Eric Van Hensbergen
Damnit Mikey, just after I hit send on [V2]. On Thu, May 19, 2011 at 4:36 PM, Michael Neuling wrote: > In message you wrote: >> On Thu, May 19, 2011 at 12:58 AM, Michael Neuling wrote= >> : >> > Eric, >> > >> >> This patch adds save/restore register support for the BlueGene/P >> >> double h

Re: [PATCH 3/7] [RFC] add support for BlueGene/P FPU

2011-05-19 Thread Michael Neuling
In message you wrote: > On Thu, May 19, 2011 at 12:58 AM, Michael Neuling wrote= > : > > Eric, > > > >> This patch adds save/restore register support for the BlueGene/P > >> double hummer FPU. > > > > What does this mean? =A0Needs more details here. > > > > Hi Mikey, > > any specific details yo

Re: [bg-linux] [PATCH 3/7] [RFC] add support for BlueGene/P FPU

2011-05-19 Thread Kazutomo Yoshii
On 05/19/2011 08:53 AM, Eric Van Hensbergen wrote: >> +#ifdef CONFIG_BGP >> +#define SAVE_FPR(n, b, base) li b, THREAD_FPR0+(16*(n)); STFPDX(n, base, b) >> +#define REST_FPR(n, b, base) li b, THREAD_FPR0+(16*(n)); LFPDX(n, base, b) > > 16*? Are these FP regs 64 or 128 bits wide? If

Re: [PATCH 3/7] [RFC] add support for BlueGene/P FPU

2011-05-19 Thread Eric Van Hensbergen
On Thu, May 19, 2011 at 12:58 AM, Michael Neuling wrote: > Eric, > >> This patch adds save/restore register support for the BlueGene/P >> double hummer FPU. > > What does this mean?  Needs more details here. > Hi Mikey, any specific details you are looking for here? AFAIK these patches are requ

Re: [PATCH 3/7] [RFC] add support for BlueGene/P FPU

2011-05-18 Thread Michael Neuling
Eric, > This patch adds save/restore register support for the BlueGene/P > double hummer FPU. What does this mean? Needs more details here. > Signed-off-by: Eric Van Hensbergen > --- > arch/powerpc/include/asm/ppc_asm.h | 39 -- - > arch/powerpc/kernel/fpu.S

[PATCH 3/7] [RFC] add support for BlueGene/P FPU

2011-05-18 Thread Eric Van Hensbergen
This patch adds save/restore register support for the BlueGene/P double hummer FPU. Signed-off-by: Eric Van Hensbergen --- arch/powerpc/include/asm/ppc_asm.h | 39 --- arch/powerpc/kernel/fpu.S |8 +++--- arch/powerpc/platforms/44x/Kconfig |9 ++