intel_pstate: Set core to min P state during core offline
authorDirk Brandewie <dirk.j.brandewie@intel.com>
Wed, 19 Mar 2014 15:45:54 +0000 (08:45 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 20 Mar 2014 03:04:40 +0000 (04:04 +0100)
commitbb18008f8086283f8f03e8e50fbbf17f213b9ea9
treeec63fd8378f40fe59fae85671d0fd69f118df125
parent367dc4aa932bfb33a3189064d33f7890a8ec1ca8
intel_pstate: Set core to min P state during core offline

Change to use the new ->stop_cpu() callback to do clean up during CPU
hotplug. The requested P state for an offline core will be used by the
hardware coordination function to select the package P state. If the
core is under load when it is offlined it will fix the package P state
floor to the requested P state of offline core.

Reported-by: Patrick Marlier <patrick.marlier@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