linux-hardened/arch/powerpc/platforms/powermac
Benjamin Herrenschmidt 62cc67b9df powerpc/pmac/smp: Properly NAP offlined CPU on G5
The current code soft-disables, and then goes to NAP mode which
turns interrupts on. That means that if an interrupt occurs, we
will hit the masked interrupt code path which isn't what we want,
as it will return with EE off, which will either get us out of
NAP mode, or fail to enter it (according to spec).

Instead, let's just rely on the fact that it is safe to take
decrementer interrupts on an offline CPU and leave interrupts
enabled. We can also get rid of the special case in asm for
power4_cpu_offline_powersave() and just use power4_idle().

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-04-01 15:37:25 +11:00
..
backlight.c [POWERPC] Remove old interface find_devices 2007-04-24 22:09:02 +10:00
bootx_init.c powerpc: Remove trailing space in messages 2010-02-09 13:56:23 +11:00
cache.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpufreq_32.c [CPUFREQ] Remove the pm_message_t argument from driver suspend 2011-03-16 17:54:33 -04:00
cpufreq_64.c powerpc/cpumask: Use cpu_online_mask 2010-05-06 17:16:12 +10:00
feature.c powerpc/powermac: Drop unnecessary null test 2010-08-24 15:26:28 +10:00
Kconfig powerpc/kconfig: Kill PPC_MULTIPLATFORM 2009-03-11 17:11:35 +11:00
low_i2c.c powerpc: Use IRQF_NO_SUSPEND not IRQF_TIMER for non-timer interrupts 2010-07-29 13:24:57 +02:00
Makefile ftrace: rename FTRACE to FUNCTION_TRACER 2008-10-20 18:27:03 +02:00
nvram.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pci.c powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
pfunc_base.c powerpc: Convert feature_lock to raw_spinlock 2010-02-19 14:52:32 +11:00
pfunc_core.c powerpc/powermac/pfunc_core.c: Add of_node_put to avoid memory leak 2010-09-02 14:07:33 +10:00
pic.c powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
pic.h powerpc/irq: Convert obsolete hw_interrupt_type to struct irq_chip 2009-03-11 17:11:34 +11:00
pmac.h powerpc/pmac/smp: Consolidate 32-bit and 64-bit PowerMac cpu_die in one file 2011-04-01 15:37:21 +11:00
setup.c powerpc/pmac/smp: Consolidate 32-bit and 64-bit PowerMac cpu_die in one file 2011-04-01 15:37:21 +11:00
sleep.S powerpc/mm: Introduce MMU features 2008-12-21 14:21:16 +11:00
smp.c powerpc/pmac/smp: Properly NAP offlined CPU on G5 2011-04-01 15:37:25 +11:00
time.c of: add 'of_' prefix to machine_is_compatible() 2010-02-09 08:33:00 -07:00
udbg_adb.c [POWERPC] Fix section mismatches in udbg_adb.c 2007-08-17 11:02:06 +10:00
udbg_scc.c of: add 'of_' prefix to machine_is_compatible() 2010-02-09 08:33:00 -07:00