cpufreq: drop ARM_BIG_LITTLE_CPUFREQ support for ARM64
authorSudeep Holla <sudeep.holla@arm.com>
Wed, 24 Oct 2018 13:44:57 +0000 (14:44 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 25 Oct 2018 16:39:02 +0000 (18:39 +0200)
ARM_BIG_LITTLE_CPUFREQ depends on topology_physical_package_id to get
the cluster id which inturn provides the information on related cpus
in the same performance domain.

ARM64 core doesn't provide the cluster information as it's not
architecturally defined. There are no users of this driver in ARM64
after the one and only user(SCPI) moved away. So let's ban the usage
of this driver for ARM64.

Signed-off-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/Kconfig.arm

index 0cd8eb7..040cfed 100644 (file)
@@ -28,7 +28,7 @@ config ARM_ARMADA_37XX_CPUFREQ
 # big LITTLE core layer and glue drivers
 config ARM_BIG_LITTLE_CPUFREQ
        tristate "Generic ARM big LITTLE CPUfreq driver"
-       depends on (ARM_CPU_TOPOLOGY || ARM64) && HAVE_CLK
+       depends on ARM_CPU_TOPOLOGY && HAVE_CLK
        # if CPU_THERMAL is on and THERMAL=m, ARM_BIT_LITTLE_CPUFREQ cannot be =y
        depends on !CPU_THERMAL || THERMAL
        select PM_OPP