Skip to content

Commit dc6416f

Browse files
Boris Ostrovskykonradwilk
authored andcommitted
xen/x86: Call cpu_startup_entry(CPUHP_AP_ONLINE_IDLE) from xen_play_dead()
This call has always been missing from xen_play dead() but until recently this was rather benign. With new cpu hotplug framework (commit 8df3e07 ("cpu/hotplug: Let upcoming cpu bring itself fully up"). however this call is required, otherwise a hot-plugged CPU will not be properly brough up (by never calling cpuhp_online_idle()) Signed-off-by: Boris Ostrovsky <[email protected]> Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
1 parent 8041dcc commit dc6416f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/x86/xen/smp.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,8 @@ static void xen_play_dead(void) /* used only with HOTPLUG_CPU */
545545
* data back is to call:
546546
*/
547547
tick_nohz_idle_enter();
548+
549+
cpu_startup_entry(CPUHP_AP_ONLINE_IDLE);
548550
}
549551

550552
#else /* !CONFIG_HOTPLUG_CPU */

0 commit comments

Comments
 (0)