]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: intel_pstate: Reflect current no_turbo state correctly
authorGabriele Mazzotta <gabriele.mzt@gmail.com>
Mon, 13 Oct 2014 15:37:41 +0000 (08:37 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 23 Oct 2014 20:59:59 +0000 (22:59 +0200)
commitc90635a94dd466145aaa7effa2f35dd764e6287e
tree50e75a75204f297d8867c5e8e6ec00ee8fb6deca
parenta08d3076cf3053773a25b89b026bd4450f41d128
cpufreq: intel_pstate: Reflect current no_turbo state correctly

Some BIOSes modify the state of MSR_IA32_MISC_ENABLE_TURBO_DISABLE
based on the current power source for the system battery AC vs
battery. Reflect the correct current state and ability to modify the
no_turbo sysfs file based on current state of
MSR_IA32_MISC_ENABLE_TURBO_DISABLE.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=83151
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c