WSL2-Linux-Kernel/drivers/macintosh
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
..
Kconfig 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
adb-iop.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
adb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
adbhid.c [PATCH] macintosh/adbhid.c: adb buttons support for aluminium PowerBook G4 2005-05-01 08:58:41 -07:00
ans-lcd.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
apm_emu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mac_hid.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macio-adb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macio_asic.c [PATCH] fix u32 vs. pm_message_t in drivers/macintosh 2005-04-16 15:25:32 -07:00
macserial.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macserial.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mediabay.c [PATCH] fix u32 vs. pm_message_t in drivers/macintosh 2005-04-16 15:25:32 -07:00
nvram.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
therm_adt746x.c [PATCH] therm_adt746x: show correct sensor locations 2005-05-25 15:31:29 -07:00
therm_pm72.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
therm_pm72.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
therm_windtunnel.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
via-cuda.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
via-macii.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
via-maciisi.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
via-pmu.c [PATCH] ppc32: Fix cpufreq vs. sleep issue 2005-05-28 11:14:01 -07:00
via-pmu68k.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00