1
linux/arch/ppc/syslib
Benjamin Herrenschmidt b16eeb4729 [PATCH] ppc32: Fix cpufreq vs. sleep issue
Recent kernels occasionally trigger a PMU timeout on some mac laptops,
typically on wakeup from sleep.  This seem to be caused by either a too big
latency caused by the cpufreq switch on wakeup from sleep or by an
interrupt beeing lost due to the reset of the interrupt controller done
during wakeup.

This patch makes that code more robust by stopping PMU auto poll activity
around cpufreq changes on machines that use the PMU for such changes (long
latency switching involving a CPU hard reset and flush of all caches) and
by removing the reset of the open pic interrupt controller on wakeup (that
can cause the loss of an interrupt and Darwin doesn't do it, so it must not
be necessary).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-28 11:14:01 -07:00
..
btext.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpc700_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpc700.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpc710.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpm2_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpm2_pic.c [PATCH] ppc32: workaround for spurious IRQs on PQ2 2005-05-01 08:58:42 -07:00
cpm2_pic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dcr.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen550_dbg.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen550_kgdb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen550.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gt64260_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
harrier.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hawk_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i8259.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm44x_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm44x_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440gp_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440gp_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440gx_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440gx_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440sp_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440sp_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm_ocp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
indirect_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipic.c [PATCH] ppc32: Fix an off-by-one error in ipic_init 2005-05-23 10:58:31 -07:00
ipic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m8xx_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m8xx_wdt.c [PATCH] ppc32: Fix mpc8xx watchdog 2005-04-16 15:24:23 -07:00
m8xx_wdt.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m8260_pci_erratum9.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m8260_pci.c [PATCH] ppc iomem annotations: ->io_base_virt 2005-04-25 07:55:57 -07:00
m8260_pci.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m8260_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc10x_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_devices.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_pci.c [PATCH] ppc iomem annotations: ->io_base_virt 2005-04-25 07:55:57 -07:00
mpc52xx_pci.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_sys.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc83xx_devices.c [PATCH] ppc32: Fix platform device initialization of 8250 serial ports 2005-05-20 15:48:19 -07:00
mpc83xx_sys.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc85xx_devices.c [PATCH] ppc32: Fix platform device initialization of 8250 serial ports 2005-05-20 15:48:19 -07:00
mpc85xx_sys.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mv64x60_dbg.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mv64x60_win.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mv64x60.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mv64360_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ocp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
of_device.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
open_pic2.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
open_pic_defs.h [PATCH] ppc32: fix compilation error in arch/ppc/syslib/open_pic_defs.h 2005-04-16 15:24:29 -07:00
open_pic.c [PATCH] ppc32: Fix cpufreq vs. sleep issue 2005-05-28 11:14:01 -07:00
pci_auto.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc4xx_dma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc4xx_kgdb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc4xx_pic.c [PATCH] ppc32: ppc4xx_pic - add acknowledge when enabling level-sensitive IRQ 2005-04-16 15:24:15 -07:00
ppc4xx_pm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc4xx_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc4xx_sgdma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc8xx_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc8xx_pic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc83xx_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc83xx_setup.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc85xx_common.c [PATCH] ppc32: Support 36-bit physical addressing on e500 2005-04-16 15:24:22 -07:00
ppc85xx_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc85xx_setup.c [PATCH] ppc iomem annotations: ->io_base_virt 2005-04-25 07:55:57 -07:00
ppc85xx_setup.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc403_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc405_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc_sys.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prep_nvram.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prom_init.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prom.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
qspan_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
todc_time.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xilinx_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00