Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1374003
| From | Viresh Kumar <viresh.kumar@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] cpufreq: Call cpufreq_disable_fast_switch() in sugov_exit() |
| Date | 2016-04-08 08:20 +0200 |
| Message-ID | <rlxVT-82O-5@gated-at.bofh.it> (permalink) |
| References | <rlpOG-1Do-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 07-04-16, 23:38, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > > Due to differences in the cpufreq core's handling of runtime CPU > offline and nonboot CPUs disabling during system suspend-to-RAM, > fast frequency switching gets disabled after a suspend-to-RAM and > resume cycle on all of the nonboot CPUs. > > To prevent that from happening, move the invocation of > cpufreq_disable_fast_switch() from cpufreq_exit_governor() to > sugov_exit(), as the schedutil governor is the only user of fast > frequency switching today anyway. > > That simply prevents cpufreq_disable_fast_switch() from being called > without invoking the ->governor callback for the CPUFREQ_GOV_POLICY_EXIT > event (which happens during system suspend now). > > Fixes: b7898fda5bc7 (cpufreq: Support for fast frequency switching) > Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> -- viresh
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] cpufreq: Call cpufreq_disable_fast_switch() in sugov_exit() "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-04-07 23:40 +0200 Re: [PATCH] cpufreq: Call cpufreq_disable_fast_switch() in sugov_exit() Viresh Kumar <viresh.kumar@linaro.org> - 2016-04-08 08:20 +0200
csiph-web