diff options
author | Richard Cochran <rcochran@linutronix.de> | 2016-03-19 00:26:11 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-03-20 02:39:04 +0300 |
commit | ed72662a84771fec1337dd8b187e070af6fd3890 (patch) | |
tree | bd57ede6bda570eaabd4da0069da727ef2ebfcd3 /drivers/cpufreq/powernv-cpufreq.c | |
parent | fdfdb2b1301670a69195ba1e5666df4a7f02eb46 (diff) | |
download | linux-ed72662a84771fec1337dd8b187e070af6fd3890.tar.xz |
cpufreq: acpi-cpufreq: Clean up hot plug notifier callback
This driver has two issues. First, it tries to fiddle with the hot
plugged CPU's MSR on the UP_PREPARE event, at a time when the CPU is
not yet online. Second, the driver sets the "boost-disable" bit for a
CPU when going down, but does not clear the bit again if the CPU comes
up again due to DOWN_FAILED.
This patch fixes the issues by changing the driver to react to the
ONLINE/DOWN_FAILED events instead of UP_PREPARE. As an added benefit,
the driver also becomes symmetric with respect to the hot plug
mechanism.
Signed-off-by: Richard Cochran <rcochran@linutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/powernv-cpufreq.c')
0 files changed, 0 insertions, 0 deletions