[PATCH] ppc64: Make early processor spinup based on physical ids

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Nov 17 09:54:48 EST 2004


On Tue, 2004-11-16 at 15:02 -0600, Olof Johansson wrote:
> Hi,
> 
> Below patch changes the early CPU spinup code to be based on physical
> CPU ID instead of logical. This will make it possible to kexec off of
> a different cpu than 0, for example after it's been hot-unplugged.
> 
> The booted cpu will still be mapped as logical cpu 0, since there's
> various stuff in the early boot that assumes logical boot cpuid is 0.
> 
> Also, it expands the kexec boot param structure to allow the booted
> physical cpuid to be passed in. This includes bumping the version number
> to 2 for backwards compat.

Why don't you put it in a property instead ? I'm against adding things
to the structure itself unless absolutely necessary.

Also, what about moving the hold loop to there too ? The area below
0x100 is a bit "sensitive" and I'd like to get rid of it.

Ben.





More information about the Linuxppc64-dev mailing list