android_kernel_xiaomi_sdm845/arch/ppc/platforms
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 [PATCH] ppc iomem annotations: ebony_setup_pcix() 2005-04-25 07:55:58 -07:00
83xx Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
85xx Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
adir_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
adir_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
adir_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
adir.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
apus_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
apus_pci.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
apus_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bseip.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ccm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
chestnut.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
chestnut.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
chrp_pci.c [PATCH] ppc trivial iomem annotations: chrp 2005-04-24 14:58:08 -07:00
chrp_pegasos_eth.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
chrp_setup.c [PATCH] ppc trivial iomem annotations: chrp 2005-04-24 14:58:08 -07:00
chrp_smp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
chrp_time.c [PATCH] ppc32: Fix a problem with NTP on !(chrp||gemini) 2005-04-16 15:24:24 -07:00
cpci690.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpci690.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
est8260.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev64260.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev64260.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fads.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gemini_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gemini_prom.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gemini_serial.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gemini_setup.c [PATCH] ppc32: Fix a problem with NTP on !(chrp||gemini) 2005-04-16 15:24:24 -07:00
gemini.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hdpu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hdpu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hermes.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip860.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ivms8.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
k2.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
k2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
katana.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
katana.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lantec.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lite5200.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lite5200.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lopec.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lopec.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lwmon.h 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
mbx.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mcpn765.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mcpn765.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc5200.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mvme5100.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mvme5100.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pal4_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pal4_serial.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pal4_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pal4.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pcore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pcore.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pcu_e.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmac_backlight.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmac_cache.S [PATCH] ppc32: Workaround a cache flush issue on sleep 2005-05-01 18:22:34 -07:00
pmac_cpufreq.c [PATCH] ppc32: Fix cpufreq vs. sleep issue 2005-05-28 11:14:01 -07:00
pmac_feature.c [PATCH] ppc32: Fix might_sleep() warning with clock spreading 2005-05-02 08:15:22 -07:00
pmac_low_i2c.c [PATCH] ppc iomem annotations: pmac_low_i2c 2005-04-25 07:55:58 -07:00
pmac_nvram.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmac_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmac_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmac_pic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmac_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmac_sleep.S [PATCH] ppc32: Fix errata for some G3 CPUs 2005-05-01 08:58:40 -07:00
pmac_smp.c [PATCH] ppc trivial iomem annotations: pmac_smp.c 2005-04-24 14:58:08 -07:00
pmac_time.c [PATCH] ppc trivial iomem annotations: pmac_time.c 2005-04-24 14:58:08 -07:00
powerpmc250.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
powerpmc250.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pplus.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pplus.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pq2ads.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pq2ads.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prep_pci.c [PATCH] ppc32: Make the Powerstack II Pro4000 boot again 2005-04-16 15:24:26 -07:00
prep_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prpmc750.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prpmc750.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prpmc800.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prpmc800.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
radstone_ppc7d.c [PATCH] ppc32: add rtc hooks in PPC7D platform file 2005-05-01 08:58:41 -07:00
radstone_ppc7d.h [PATCH] ppc32: fix for misreported SDRAM size on Radstone PPC7D platform 2005-05-01 08:58:40 -07:00
residual.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rpx8260.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rpxclassic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rpxhiox.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rpxlite.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sandpoint.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sandpoint.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbc82xx.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbc82xx.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbs8260.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
spd8xx.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
spruce.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
spruce.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tqm8xx.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tqm8260_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tqm8260.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00