linux/arch/ppc
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
..
4xx_io Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
8xx_io Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
8260_io Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
amiga Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
boot [PATCH] kbuild/ppc: tell when uimage was not built 2005-04-30 16:51:42 -07:00
configs Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kernel [PATCH] ppc32: fix CONFIG_TASK_SIZE handling on 44x 2005-05-20 15:48:19 -07:00
lib [PATCH] ppc32: Fix __copy_tofrom_user return value 2005-05-20 07:54:10 -07:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mm [PATCH] ppc32: don't call progress functions after boot 2005-05-20 07:54:10 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
platforms [PATCH] ppc32: Fix cpufreq vs. sleep issue 2005-05-28 11:14:01 -07:00
syslib [PATCH] ppc32: Fix cpufreq vs. sleep issue 2005-05-28 11:14:01 -07:00
xmon Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PATCH] ppc32: Fix POWER3/POWER4 compiler error 2005-05-06 22:09:28 -07:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] ppc32: refactor FPU exception handling 2005-05-01 08:58:40 -07:00