• 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
..
alpha Loading commit data...
arc Loading commit data...
arm Loading commit data...
arm64 Loading commit data...
blackfin Loading commit data...
c6x Loading commit data...
cris Loading commit data...
frv Loading commit data...
h8300 Loading commit data...
hexagon Loading commit data...
ia64 Loading commit data...
m32r Loading commit data...
m68k Loading commit data...
metag Loading commit data...
microblaze Loading commit data...
mips Loading commit data...
mn10300 Loading commit data...
nios2 Loading commit data...
openrisc Loading commit data...
parisc Loading commit data...
powerpc Loading commit data...
s390 Loading commit data...
score Loading commit data...
sh Loading commit data...
sparc Loading commit data...
tile Loading commit data...
um Loading commit data...
unicore32 Loading commit data...
x86 Loading commit data...
xtensa Loading commit data...
.gitignore Loading commit data...
Kconfig Loading commit data...