s390/smp: Handle restart interrupt on ipl cpu
authorSven Schnelle <svens@linux.ibm.com>
Tue, 16 Jul 2024 07:26:13 +0000 (09:26 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 23 Jul 2024 14:02:31 +0000 (16:02 +0200)
commita795eeaf851b91c79fc357a245ca72fd1e7df906
treec7d0855d529da01d8a288cebab487d4be0895714
parentb798b685b42c9dbe508e59a74250d97c41bec35e
s390/smp: Handle restart interrupt on ipl cpu

The current smp code allows to trigger a restart interrupt on CPUs
offline in linux. To allow using the percpu infrastructure instead
of the pcpu_devices array, switch to the ipl cpu which is always
online before calling do_restart().

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/smp.h
arch/s390/kernel/ipl.c
arch/s390/kernel/smp.c