]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq / intel_pstate: Fix max_perf_pct on resume
authorDirk Brandewie <dirk.j.brandewie@intel.com>
Tue, 15 Oct 2013 18:06:14 +0000 (11:06 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Oct 2013 23:41:46 +0000 (01:41 +0200)
commitc4d36a86a90fa8e092bea2393ff8acf1ff30bf6d
tree3cc6554ec6a077340bab9f47ebf9297c0b1c02bd
parenta46e782985e4dc0ae9a99f28d95e7f2b0d19072c
cpufreq / intel_pstate: Fix max_perf_pct on resume

If the system is suspended while max_perf_pct is less than 100 percent
or no_turbo set policy->{min,max} will be set incorrectly with scaled
values which turn the scaled values into hard limits.

References: https://bugzilla.kernel.org/show_bug.cgi?id=61241
Reported-by: Patrick Bartels <petzicus@googlemail.com>
Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Cc: 3.9+ <stable@vger.kernel.org> # 3.9+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c