[PATCH] PPC64 pmac hotplug cpu

Benjamin Herrenschmidt benh at kernel.crashing.org
Sun Jan 16 09:23:13 EST 2005

On Thu, 2005-01-13 at 17:43 -0700, Zwane Mwaikambo wrote:
> I found the following very handy for use as a reference platform when 
> working on i386 hotplug cpu recently.
> It's been tested on a G5 system with a cpu going on/offline every second 
> and make -j. I've also tried a number of config options to avoid compile 
> breakage.

Hi !

Looks good, but you could do even better :) I still want to look at the
proper mecanism to flush the CPU cache on 970, but the idea here is to
flush it, and put the CPU into a NAP loop (the 970 has no SLEEP mode)
with the caches clean and MSR:EE off. We can later get it back with a
soft reset.


More information about the Linuxppc64-dev mailing list