]> git.baikalelectronics.ru Git - kernel.git/commit
intel_pstate: remove setting P state to MAX on init
authorDirk Brandewie <dirk.j.brandewie@intel.com>
Thu, 8 May 2014 19:57:24 +0000 (12:57 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 13 May 2014 15:39:13 +0000 (17:39 +0200)
commitd0f0a0ca4b98f7efc8fe06e9739d26f353254246
treeb0a0023a71d72947c0d691627010313580974683
parent5748e2f2fe6b4639b0daa566fd2e513577101754
intel_pstate: remove setting P state to MAX on init

Setting the P state of the core to max at init time is a hold over
from early implementation of intel_pstate where intel_pstate disabled
cpufreq and loaded VERY early in the boot sequence.  This was to
ensure that intel_pstate did not affect boot time. This in not needed
now that intel_pstate is a cpufreq driver.

Removing this covers the case where a CPU has gone through a manual
CPU offline/online cycle and the P state is set to MAX on init and the
CPU immediately goes idle.  Due to HW coordination the P state request
on the idle CPU will drag all cores to MAX P state until the load is
reevaluated when to core goes non-idle.

Reported-by: Patrick Marlier <patrick.marlier@gmail.com>
Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Cc: 3.14+ <stable@vger.kernel.org> # 3.14+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c