Subject: Re: [PATCH 1/7] PowerPC64: Not to insert EA=0 entry at

From: Benjamin Herrenschmidt <[email-masked]>
Date: Thu, 27 Sep 2007 18:18:52 +1000

On Thu, 2007-09-27 at 17:01 +0900, [email-masked] wrote:
> 
> Celleb does not set get_paca()->kstack properly (I don't know which
> function should set it up), so we need to workaround.

paca->kstack is set in asm (via the PACAKSAVE macro), from either
__secondary_start for non-boot CPUs or from start_here_common for the
boot CPU.

slb_flush_and_rebolt() should not be called before that happens.

How do you end up with kstack set to 0 ?

Ben.