OSDN Git Service

cpufreq / CPPC: Initialize policy->min to lowest nonlinear performance
authorPrakash, Prashanth <pprakash@codeaurora.org>
Thu, 11 May 2017 22:39:44 +0000 (16:39 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 27 Jun 2017 00:19:39 +0000 (02:19 +0200)
commit73808d0fd26b3d3f0f44cc7c469ad1d3c1b570b8
tree3099d7f581101eebeb06cebc9245daf0c9f78ff5
parent0370f0f975e5561c658aa86e2c372079e6a425eb
cpufreq / CPPC: Initialize policy->min to lowest nonlinear performance

Description of Lowest Perfomance in ACPI 6.1 specification states:
"Lowest Performance is the absolute lowest performance level of
the platform. Selecting a performance level lower than the lowest
nonlinear performance level may actually cause an efficiency penalty,
but should reduce the instantaneous power consumption of the processor.
In traditional terms, this represents the T-state range of performance
levels."

Set the default value of policy->min to Lowest Nonlinear Performance
to avoid any potential efficiency penalty.

Signed-off-by: Prashanth Prakash <pprakash@codeaurora.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Alexey Klimov <alexey.klimov@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cppc_cpufreq.c