aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pasemi/powersave.S
Commit message (Collapse)AuthorAgeFilesLines
* [POWERPC] pasemi: Don't enter powersaving states from elevated astatesOlof Johansson2007-12-011-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>
* [POWERPC] pasemi: Idle loopsOlof Johansson2007-02-071-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>