Re: Sequoia kernel crash workaround.

2007-09-24 Thread Josh Boyer
On Tue, 25 Sep 2007 06:55:50 +1000 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-09-24 at 14:35 +0400, Valentine Barshak wrote: > > > > From what I've seen, setup_cpu is never called for BOOKE. > > Currently It's called from cputable.c for PPC64 and from head_32.S for > > 6

Re: Sequoia kernel crash workaround.

2007-09-24 Thread Benjamin Herrenschmidt
On Mon, 2007-09-24 at 14:35 +0400, Valentine Barshak wrote: > > From what I've seen, setup_cpu is never called for BOOKE. > Currently It's called from cputable.c for PPC64 and from head_32.S for > 6xx. > Thanks, Right. We need to fix/converge some of these but it's not totally trivial. Ben.

Re: Sequoia kernel crash workaround.

2007-09-24 Thread Valentine Barshak
Benjamin Herrenschmidt wrote: > On Thu, 2007-09-20 at 12:29 -0500, Josh Boyer wrote: >> On Thu, 20 Sep 2007 12:25:06 -0500 >> Olof Johansson <[EMAIL PROTECTED]> wrote: >> >>> On Thu, Sep 20, 2007 at 08:56:32PM +0400, Valentine Barshak wrote: I was thinking about it. Looks like it's the best pl

Re: Sequoia kernel crash workaround.

2007-09-23 Thread Benjamin Herrenschmidt
On Thu, 2007-09-20 at 12:29 -0500, Josh Boyer wrote: > On Thu, 20 Sep 2007 12:25:06 -0500 > Olof Johansson <[EMAIL PROTECTED]> wrote: > > > On Thu, Sep 20, 2007 at 08:56:32PM +0400, Valentine Barshak wrote: > > > > > > I was thinking about it. Looks like it's the best place, but the code > > > t

Re: Sequoia kernel crash workaround.

2007-09-20 Thread Valentine Barshak
Josh Boyer wrote: > On Thu, 20 Sep 2007 12:32:56 -0500 (CDT) > Milton Miller <[EMAIL PROTECTED]> wrote: > >> On Fri Sep 21 02:56:32 EST 2007, Valentine Barshak wrote: >>> Josh Boyer wrote: On Wed, 19 Sep 2007 14:30:24 -0500 Olof Johansson wrote: > On Wed, Sep 19, 2007 at 09:19:

Re: Sequoia kernel crash workaround.

2007-09-20 Thread Josh Boyer
On Thu, 20 Sep 2007 12:32:56 -0500 (CDT) Milton Miller <[EMAIL PROTECTED]> wrote: > On Fri Sep 21 02:56:32 EST 2007, Valentine Barshak wrote: > > Josh Boyer wrote: > >> On Wed, 19 Sep 2007 14:30:24 -0500 > >> Olof Johansson wrote: > >> > >>> On Wed, Sep 19, 2007 at 09:19:47PM +0200, Stefan Roese

Re: Sequoia kernel crash workaround.

2007-09-20 Thread Olof Johansson
On Thu, Sep 20, 2007 at 12:25:06PM -0500, Olof Johansson wrote: > On Thu, Sep 20, 2007 at 08:56:32PM +0400, Valentine Barshak wrote: > > > > I was thinking about it. Looks like it's the best place, but the code that > > actually calls setup_cpu is under ifdef CONFIG_PPC64, while lots of > > cpu_s

Re: Sequoia kernel crash workaround.

2007-09-20 Thread Milton Miller
On Fri Sep 21 02:56:32 EST 2007, Valentine Barshak wrote: > Josh Boyer wrote: >> On Wed, 19 Sep 2007 14:30:24 -0500 >> Olof Johansson wrote: >> >>> On Wed, Sep 19, 2007 at 09:19:47PM +0200, Stefan Roese wrote: Hi Valentine, On Wednesday 19 September 2007, Valentine Barshak wrote: >

Re: Sequoia kernel crash workaround.

2007-09-20 Thread Josh Boyer
On Thu, 20 Sep 2007 12:25:06 -0500 Olof Johansson <[EMAIL PROTECTED]> wrote: > On Thu, Sep 20, 2007 at 08:56:32PM +0400, Valentine Barshak wrote: > > > > I was thinking about it. Looks like it's the best place, but the code that > > actually calls setup_cpu is under ifdef CONFIG_PPC64, while lots

Re: Sequoia kernel crash workaround.

2007-09-20 Thread Olof Johansson
On Thu, Sep 20, 2007 at 08:56:32PM +0400, Valentine Barshak wrote: > > I was thinking about it. Looks like it's the best place, but the code that > actually calls setup_cpu is under ifdef CONFIG_PPC64, while lots of > cpu_setup functions are defined for ppc32 processors. > Is it OK to remove this

Re: Sequoia kernel crash workaround.

2007-09-20 Thread Valentine Barshak
Josh Boyer wrote: > On Wed, 19 Sep 2007 14:30:24 -0500 > Olof Johansson <[EMAIL PROTECTED]> wrote: > >> On Wed, Sep 19, 2007 at 09:19:47PM +0200, Stefan Roese wrote: >>> Hi Valentine, >>> >>> On Wednesday 19 September 2007, Valentine Barshak wrote: Disabling write pipelining really helps. >>>

Re: Sequoia kernel crash workaround.

2007-09-19 Thread Josh Boyer
On Wed, 19 Sep 2007 14:30:24 -0500 Olof Johansson <[EMAIL PROTECTED]> wrote: > On Wed, Sep 19, 2007 at 09:19:47PM +0200, Stefan Roese wrote: > > Hi Valentine, > > > > On Wednesday 19 September 2007, Valentine Barshak wrote: > > > Disabling write pipelining really helps. > > > Josh, David, what is

Re: Sequoia kernel crash workaround.

2007-09-19 Thread Olof Johansson
On Wed, Sep 19, 2007 at 09:19:47PM +0200, Stefan Roese wrote: > Hi Valentine, > > On Wednesday 19 September 2007, Valentine Barshak wrote: > > Disabling write pipelining really helps. > > Josh, David, what is the right place to put this workaround to? > > > > Is it OK to do mtdcr(PLB4A0_ACR, mfdcr

Re: Sequoia kernel crash workaround.

2007-09-19 Thread Stefan Roese
Hi Valentine, On Wednesday 19 September 2007, Valentine Barshak wrote: > Disabling write pipelining really helps. > Josh, David, what is the right place to put this workaround to? > > Is it OK to do mtdcr(PLB4A0_ACR, mfdcr(PLB4A0_ACR) & ~PLB4_WRP); in > arch/powerpc/boot/cuboot-sequoia.c:sequoia_f

Re: Sequoia kernel crash workaround.

2007-09-19 Thread Josh Boyer
On Wed, 19 Sep 2007 22:39:05 +0400 Valentine Barshak <[EMAIL PROTECTED]> wrote: > I've observed kernel crashes on Sequoia board several times. > Kernel often crashes with high network/memory loads. > This is due to 440EPx h/w issue. > > According to the errata: > CHIP_8: Incorrect Write to DDR SD