[POWERPC] powermac: Support G5 CPU hotplug

This allows "hotplugging" of CPUs on G5 machines.  CPUs that are
disabled are put into an idle loop with the decrementer frequency set
to minimum.  To wake them up again we kick them just like when bringing
them up.  To stop those CPUs from messing with any global state we stop
them from entering the timer interrupt.

Signed-off-by: Johannes Berg <[email protected]>
Acked-by: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
This commit is contained in:
Johannes Berg 2007-05-03 06:33:51 +10:00 • committed by Paul Mackerras
commit d9333afd6a
4 changed files with 82 additions and 4 deletions

View file

@ -248,6 +248,7 @@ struct machdep_calls {
};
extern void power4_idle(void);
extern void power4_cpu_offline_powersave(void);
extern void ppc6xx_idle(void);
/*