kernel-fxtec-pro1x/arch/powerpc/platforms/cell
Benjamin Herrenschmidt be2cf20a5a powerpc: More fixes for lazy IRQ vs. idle
Looks like we still have issues with pSeries and Cell idle code
vs. the lazy irq state. In fact, the reset fixes that went upstream
are exposing the problem more by causing BUG_ON() to trigger (which
this patch turns into a WARN_ON instead).

We need to be careful when using a variant of low power state that
has the side effect of turning interrupts back on, to properly set
all the SW & lazy state to look as if everything is enabled before
we enter the low power state with MSR:EE off as we will return with
MSR:EE on. If not, we have a discrepancy of state which can cause
things to go very wrong later on.

This patch moves the logic into a helper and uses it from the
pseries and cell idle code. The power4/970 idle code already got
things right (in assembly even !) so I'm not touching it. The power7
"bare metal" idle code is subtly different and correct. Remains PA6T
and some hypervisor based Cell platforms which have questionable
code in there, but they are mostly dead platforms so I'll fix them
when I manage to get final answers from the respective maintainers
about how the low power state actually works on them.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: stable@vger.kernel.org [v3.4]
2012-07-10 19:16:07 +10:00
..
spufs vfs: Rename end_writeback() to clear_inode() 2012-05-06 13:43:41 +08:00
axon_msi.c powerpc/irqdomain: Fix broken NR_IRQ references 2012-04-30 10:45:26 +10:00
beat.c
beat.h
beat_htab.c powerpc: Random little legacy iSeries removal tidy ups 2012-03-28 11:33:23 +11:00
beat_hvCall.S
beat_interrupt.c powerpc/irqdomain: Fix broken NR_IRQ references 2012-04-30 10:45:26 +10:00
beat_interrupt.h
beat_iommu.c
beat_spu_priv1.c
beat_syscall.h
beat_udbg.c
beat_wrapper.h
cbe_cpufreq.c
cbe_cpufreq.h
cbe_cpufreq_pervasive.c
cbe_cpufreq_pmi.c
cbe_powerbutton.c
cbe_regs.c
cbe_thermal.c cpu: convert 'cpu' and 'machinecheck' sysdev_class to a regular subsystem 2011-12-21 14:29:42 -08:00
celleb_pci.c
celleb_pci.h
celleb_scc.h
celleb_scc_epci.c
celleb_scc_pciex.c
celleb_scc_sio.c
celleb_scc_uhc.c
celleb_setup.c
cpufreq_spudemand.c
interrupt.c irq_domain/powerpc: constify irq_domain_ops 2012-02-16 06:11:24 -07:00
interrupt.h
iommu.c PowerPC: adapt for dma_map_ops changes 2012-03-28 16:36:33 +02:00
Kconfig
Makefile
pervasive.c powerpc: More fixes for lazy IRQ vs. idle 2012-07-10 19:16:07 +10:00
pervasive.h
pmu.c
qpace_setup.c powerpc: Mark const init data with __initconst instead of __initdata 2012-04-02 14:00:03 +10:00
ras.c
ras.h
setup.c powerpc: Mark const init data with __initconst instead of __initdata 2012-04-02 14:00:03 +10:00
smp.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
spider-pci.c
spider-pic.c irq_domain/powerpc: constify irq_domain_ops 2012-02-16 06:11:24 -07:00
spu_base.c Merge branch 'driver-core-next' into Linux 3.2 2012-01-06 11:42:52 -08:00
spu_callbacks.c
spu_fault.c
spu_manage.c
spu_notify.c
spu_priv1_mmio.c
spu_priv1_mmio.h
spu_syscalls.c switch spu_create(2) to use of SYSCALL_DEFINE4, make it use umode_t 2012-01-03 22:55:16 -05:00