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

Joel Schopp jschopp at austin.ibm.com
Sat Nov 20 03:42:51 EST 2004


> 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.

I don't see anything here that pops out as conflicting with cpu hotplug, 
but I am curious if you have tested it with cpu hotplug.  If you haven't 
I'd be happy to test it for you today.  If you could compile a kernel 
with CONFIG_HOTPLUG_CPU and CONFIG_SCSI_IPR both set to y I'll boot it 
up and kick it around.



More information about the Linuxppc64-dev mailing list