]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: scpi: remove arm_big_little dependency
authorSudeep Holla <Sudeep.Holla@arm.com>
Wed, 10 Jan 2018 16:44:15 +0000 (16:44 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 17 Jan 2018 11:59:33 +0000 (12:59 +0100)
commit761e631971f896dbbd58bb671ee5e0ba90dcc6a7
tree1d467829b3b4dcbeac421f7a03921ae9655fcac3
parent03d6e8444cdc005617a6310ec997da190db7f2af
cpufreq: scpi: remove arm_big_little dependency

The dependency on physical_package_id from the topology to get the
cluster identifier is wrong. The concept of cluster used in ARM topology
is unfortunately not well defined in the architecture, we should avoid
using it. Further the frequency domain need not be mapped to so called
"clusters" one to one.

SCPI already provides means to obtain the frequency domain id from the
device tree. In order to support some new topologies(e.g. DSU which
contains 2 frequency domains within the physical cluster), pseudo
clusters are created to make this driver work which is wrong again.

In order to solve those issues and also remove dependency of topological
physical id for frequency domain, this patch removes the arm_big_little
dependency from scpi driver.

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