• Juergen Gross's avatar
    xen/x86: fix cpu hotplug · c185ddec
    Juergen Gross authored
    Commit dc6416f1 ("xen/x86: Call
    cpu_startup_entry(CPUHP_AP_ONLINE_IDLE) from xen_play_dead()")
    introduced an error leading to a stack overflow of the idle task when
    a cpu was brought offline/online many times: by calling
    cpu_startup_entry() instead of returning at the end of xen_play_dead()
    do_idle() would be entered again and again.
    
    Don't use cpu_startup_entry(), but cpuhp_online_idle() instead allowing
    to return from xen_play_dead().
    
    Cc: <stable@vger.kernel.org> # 4.12
    Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
    Reviewed-by: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
    Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
    c185ddec
Name
Last commit
Last update
..
boot Loading commit data...
configs Loading commit data...
crypto Loading commit data...
entry Loading commit data...
events Loading commit data...
hyperv Loading commit data...
ia32 Loading commit data...
include Loading commit data...
kernel Loading commit data...
kvm Loading commit data...
lguest Loading commit data...
lib Loading commit data...
math-emu Loading commit data...
mm Loading commit data...
net Loading commit data...
oprofile Loading commit data...
pci Loading commit data...
platform Loading commit data...
power Loading commit data...
purgatory Loading commit data...
ras Loading commit data...
realmode Loading commit data...
tools Loading commit data...
um Loading commit data...
video Loading commit data...
xen Loading commit data...
.gitignore Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
Kconfig.cpu Loading commit data...
Kconfig.debug Loading commit data...
Makefile Loading commit data...
Makefile.um Loading commit data...
Makefile_32.cpu Loading commit data...