Message ID | 3633769.iIbC2pHGDl@rjwysocki.net |
---|---|
State | New |
Headers | show |
Series | x86/smp: Fix power regression introduced by commit 96040f7273e2 | expand |
--- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -1377,9 +1377,10 @@ play_dead_common(); tboot_shutdown(TB_SHUTDOWN_WFS); + /* Each call in the following sequence returns only on errors. */ + cpuidle_play_dead(); mwait_play_dead_cpuid_hint(); - if (cpuidle_play_dead()) - hlt_play_dead(); + hlt_play_dead(); } #else /* ... !CONFIG_HOTPLUG_CPU */