Re: [PATCH] PowerPC: add setup_cpu for 44x for processor-specific init

2007-09-20 Thread Paul Mackerras
Valentine Barshak writes: > +_GLOBAL(__setup_cpu_440epx) > + mflrr4 > + bl __init_fpu_44x > +_GLOBAL(__setup_cpu_440grx) > + bl __plb_disable_wrp > + mtlrr4 > + blr If we enter at __setup_cpu_440grx we'll return to some bogus address... Paul. ___

Re: [PATCH] PowerPC: add setup_cpu for 44x for processor-specific init

2007-09-20 Thread Valentine Barshak
Kumar Gala wrote: > >> diff -ruN linux-2.6.orig/arch/powerpc/kernel/cputable.c >> linux-2.6/arch/powerpc/kernel/cputable.c >> --- linux-2.6.orig/arch/powerpc/kernel/cputable.c2007-09-20 >> 19:30:47.0 +0400 >> +++ linux-2.6/arch/powerpc/kernel/cputable.c2007-09-20 >> 21:27:35.000

Re: [PATCH] PowerPC: add setup_cpu for 44x for processor-specific init

2007-09-20 Thread Kumar Gala
> diff -ruN linux-2.6.orig/arch/powerpc/kernel/cputable.c linux-2.6/ > arch/powerpc/kernel/cputable.c > --- linux-2.6.orig/arch/powerpc/kernel/cputable.c 2007-09-20 > 19:30:47.0 +0400 > +++ linux-2.6/arch/powerpc/kernel/cputable.c 2007-09-20 > 21:27:35.0 +0400 [snip] >

Re: [PATCH] PowerPC: add setup_cpu for 44x for processor-specific init

2007-09-20 Thread Valentine Barshak
Josh Boyer wrote: > On Thu, 20 Sep 2007 21:55:58 +0400 > Valentine Barshak <[EMAIL PROTECTED]> wrote: > >> This adds cpu_setup functionality to PowerPC 44x platform. >> The cpu_setup callback is invoked by head_32 code and >> the identify_cpu() function at early init and is used to >> initialize

Re: [PATCH] PowerPC: add setup_cpu for 44x for processor-specific init

2007-09-20 Thread Josh Boyer
On Thu, 20 Sep 2007 21:55:58 +0400 Valentine Barshak <[EMAIL PROTECTED]> wrote: > This adds cpu_setup functionality to PowerPC 44x platform. > The cpu_setup callback is invoked by head_32 code and > the identify_cpu() function at early init and is used to > initialize FPU on 440EP(x) processors.

[PATCH] PowerPC: add setup_cpu for 44x for processor-specific init

2007-09-20 Thread Valentine Barshak
This adds cpu_setup functionality to PowerPC 44x platform. The cpu_setup callback is invoked by head_32 code and the identify_cpu() function at early init and is used to initialize FPU on 440EP(x) processors. The FPU initialization was previously done in head_44x.S. Also a workaround for the in