summaryrefslogtreecommitdiff
path: root/drivers/pps
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-03-31 15:42:15 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-03-31 15:42:15 (GMT)
commitbb6ab52f2befe1fb29ac198f27d8a6aadf510f81 (patch)
treee1fd997a070d0a2f53e0be2a520d4287befb898c /drivers/pps
parent539a4c4247c2697d291a8fb02c485ccd7cf34f05 (diff)
downloadlinux-bb6ab52f2befe1fb29ac198f27d8a6aadf510f81.tar.xz
intel_pstate: Do not set utilization update hook too early
The utilization update hook in the intel_pstate driver is set too early, as it only should be set after the policy has been fully initialized by the core. That may cause intel_pstate_update_util() to use incorrect data and put the CPUs into incorrect P-states as a result. To prevent that from happening, make intel_pstate_set_policy() set the utilization update hook instead of intel_pstate_init_cpu() so intel_pstate_update_util() only runs when all things have been initialized as appropriate. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/pps')
0 files changed, 0 insertions, 0 deletions