diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2016-11-29 10:51:43 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-12-01 23:01:36 +0100 |
commit | fb1013a01673acf7e94e38cda169828ac76b345a (patch) | |
tree | 025b27e54e2a2e8eafbbd20e497de9309ca94365 /drivers/cpuidle/sysfs.c | |
parent | intel_idle: Remove superfluous SMP fuction call (diff) | |
download | linux-fb1013a01673acf7e94e38cda169828ac76b345a.tar.xz linux-fb1013a01673acf7e94e38cda169828ac76b345a.zip |
intel_idle: Convert to hotplug state machine
Install the callbacks via the state machine and let the core invoke the
callbacks on the already online CPUs.
The two smp_call_function_single() invocations in intel_idle_cpu_init() have
been removed because intel_idle_cpu_init() is now invoked via the hotplug
callback which runs on the target CPU. The IRQ-off calling convention for
auto_demotion_disable() and c1e_promotion_disable() has not been preserved
because only those two modify the MSR during CPU intialization.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle/sysfs.c')
0 files changed, 0 insertions, 0 deletions