]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: powernv: Add boost files to export ultra-turbo frequencies
authorShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Tue, 3 Jan 2017 11:06:00 +0000 (16:36 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 3 Feb 2017 22:59:41 +0000 (23:59 +0100)
commite974a30e3bdfdc9e3a997219c592aee5e25e9a81
tree9d312e8425e8fb56c0fe08d3c1f6cb6dd7c04d52
parent9746acfaf1de60985099e2eb9e4cd4412e9dcfba
cpufreq: powernv: Add boost files to export ultra-turbo frequencies

In P8+, Workload Optimized Frequency(WOF) provides the capability to
boost the cpu frequency based on the utilization of the other cpus
running in the chip. The On-Chip-Controller(OCC) firmware will control
the achievability of these frequencies depending on the power headroom
available in the chip. Currently the ultra-turbo frequencies provided
by this feature are exported along with the turbo and sub-turbo
frequencies as scaling_available_frequencies. This patch will export
the ultra-turbo frequencies separately as scaling_boost_frequencies in
WOF enabled systems. This patch will add the boost sysfs file which
can be used to disable/enable ultra-turbo frequencies.

Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/powernv-cpufreq.c