Does kexec support SMP on powerpc? E500 V2

M. Mohan Kumar mohan at in.ibm.com
Thu Aug 27 12:33:19 EDT 2009


On Thu, Aug 27, 2009 at 11:54:22PM +0800, wilbur.chan wrote:
> There was a patch of kexec on SMP mips 64 , and I attempt to implement
> kexec on SMP powerpc .
> 
> I found that ,  it was a little different with  mips when booting a
> kernel. We know  that, every CPU jumped directly into kernel on
> 
> mips, but on powerpc , E500 SMP,  the 'master' CPU was in charge of
> 'slave'  CPUs , so 'slave' CPU  could do nothing
> 
> but to  wait for 'master'  to wake him up in Init function.
> 
> 
> How to implement kexec on SMP powerpc?

Wilbur, I am not sure about ppc32 arch. Check
kexec/purgatory/arch/ppc64/v2wrap.S which makes all secondary cpus to spin
in a loop at the physical address 0x60

Regards,
M. Mohan Kumar



More information about the kexec mailing list