]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: CPPC: Enable dvfs_possible_from_any_cpu
authorPierre Gondois <Pierre.Gondois@arm.com>
Wed, 18 May 2022 09:09:01 +0000 (11:09 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 19 May 2022 17:45:34 +0000 (19:45 +0200)
commit136ed69780e8fb36a3496daa2af0c79cfefddd0c
tree6e206089b2b02a9041fe194eb3753127d3e1df32
parent8c5d7fcfd467ac064bb466b7ec2b7e0067eef0f0
cpufreq: CPPC: Enable dvfs_possible_from_any_cpu

The communication mean of the _CPC desired performance can be
PCC, System Memory, System IO, or Functional Fixed Hardware (FFH).

PCC, SystemMemory and SystemIo address spaces are available from any
CPU. Thus, dvfs_possible_from_any_cpu should be enabled in such case.
For FFH, let the FFH implementation do smp_call_function_*() calls.

Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cppc_cpufreq.c