OSDN Git Service

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)
commit343a8d17fa8d6dd97f408e8fedbcef12073f3774
tree1d467829b3b4dcbeac421f7a03921ae9655fcac3
parentdff4113d5e3753c23e8b5bb6818f5829ccd0d06a
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