[PATCH 3/4] PowerPC 440EPx: Sequoia board support
Josh Boyer
jwboyer at linux.vnet.ibm.com
Wed Aug 29 05:13:10 EST 2007
On Tue, 28 Aug 2007 13:14:37 -0500
Olof Johansson <olof at lixom.net> wrote:
> Hi,
>
> On Tue, Aug 28, 2007 at 09:50:22PM +0400, Valentine Barshak wrote:
>
> > diff -ruN linux-2.6.orig/arch/powerpc/kernel/head_44x.S linux-2.6/arch/powerpc/kernel/head_44x.S
> > --- linux-2.6.orig/arch/powerpc/kernel/head_44x.S 2007-08-27 14:08:43.000000000 +0400
> > +++ linux-2.6/arch/powerpc/kernel/head_44x.S 2007-08-28 17:04:51.000000000 +0400
> > @@ -217,7 +217,7 @@
> > lis r4,interrupt_base at h /* IVPR only uses the high 16-bits */
> > mtspr SPRN_IVPR,r4
> >
> > -#ifdef CONFIG_440EP
> > +#if defined(CONFIG_440EP) || defined(CONFIG_440EPX)
> > /* Clear DAPUIB flag in CCR0 (enable APU between CPU and FPU) */
> > mfspr r2,SPRN_CCR0
> > lis r3,0xffef
>
> This is obviously nothing urgent given that the ifdef already existed, but
> this looks like it really should be a runtime check instead. Multiplatform
> kernels will require it (if/whenever that becomes a priority for 44x).
Yep, indeed. It's on my todo list, hopefully before 2.6.24. Don't
think we need to hold up 440EPx in the meantime, since it's a slightly
larger issue. Thanks for the reminder!
josh
More information about the Linuxppc-dev
mailing list