diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2017-07-28 08:46:39 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-08-01 14:24:54 +0200 |
commit | 99d14d0e16fadb4de001bacc0ac0786a9ebecf2a (patch) | |
tree | f09808829ea602773845903f05ca6699b5fb16c6 /drivers/cpufreq/pmac64-cpufreq.c | |
parent | sched: cpufreq: Allow remote cpufreq callbacks (diff) | |
download | linux-99d14d0e16fadb4de001bacc0ac0786a9ebecf2a.tar.xz linux-99d14d0e16fadb4de001bacc0ac0786a9ebecf2a.zip |
cpufreq: Process remote callbacks from any CPU if the platform permits
On many platforms, CPUs can do DVFS across cpufreq policies. i.e CPU
from policy-A can change frequency of CPUs belonging to policy-B.
This is quite common in case of ARM platforms where we don't
configure any per-cpu register.
Add a flag to identify such platforms and update
cpufreq_can_do_remote_dvfs() to allow remote callbacks if this flag is
set.
Also enable the flag for cpufreq-dt driver which is used only on ARM
platforms currently.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Saravana Kannan <skannan@codeaurora.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/pmac64-cpufreq.c')
0 files changed, 0 insertions, 0 deletions