cpufreq: arm_big_little: add in-kernel switching (IKS) support
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 30 Oct 2013 19:44:40 +0000 (15:44 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 Oct 2013 23:10:53 +0000 (00:10 +0100)
commite79a23c5b9870b7f80425793abeb10e57f7486d4
treec957d3a1c803ba71fc030b016e902f2bee6d81af
parent9e941b6f42cc2b0d53011d62d639140c84116f59
cpufreq: arm_big_little: add in-kernel switching (IKS) support

This patch adds IKS (In Kernel Switcher) support to cpufreq driver.

This creates a combined freq table for A7-A15 CPU pairs. A7 frequencies
are virtualized and scaled down to half the actual frequencies to
approximate a linear scale across the combined A7+A15 range. When the
requested frequency change crosses the A7-A15 boundary a cluster switch
is invoked.

Based on earlier work from Sudeep KarkadaNagesha.

Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/arm_big_little.c
drivers/cpufreq/arm_big_little.h