aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pasemi/powersave.S (follow)
AgeCommit message (Collapse)AuthorFilesLines
2007-12-01[POWERPC] pasemi: Don't enter powersaving states from elevated astatesOlof Johansson1-1/+10
When the PWRficient cpus are entered into powersavings states, the astate is automatically dropped down to 0. While we still restore it when we come out of idle, it can still cause some weird effects with respect to performance (especially since it takes a while to ramp up to higher astates). So, to avoid this, don't enter power savings when the cpufreq driver (or user) has set higher astates than 0. The restore is still required, since there's a chance the astate has been raised from the other cpu while the idling one was asleep. Signed-off-by: Olof Johansson <olof@lixom.net>
2007-02-07[POWERPC] pasemi: Idle loopsOlof Johansson1-0/+80
Powersave support on PA6T. Right now it only uses 'doze' mode, and will default to no savings (spin). Signed-off-by: Olof Johansson <olof@lixom.net> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Paul Mackerras <paulus@samba.org>