s390/smp: perform initial CPU reset also for SMT siblings
authorSven Schnelle <svens@linux.ibm.com>
Tue, 8 Dec 2020 06:35:21 +0000 (07:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Dec 2020 12:47:05 +0000 (13:47 +0100)
commitaca4660cbebcfb45817bc4bfe2a54a5d5404271e
treea4e8ba1470821b296097b67fbf628930fbb27ca0
parent683e90ddb947a8b97bc086e85512105d2c1da6b5
s390/smp: perform initial CPU reset also for SMT siblings

commit b5e438ebd7e808d1d2435159ac4742e01a94b8da upstream.

Not resetting the SMT siblings might leave them in unpredictable
state. One of the observed problems was that the CPU timer wasn't
reset and therefore large system time values where accounted during
CPU bringup.

Cc: <stable@kernel.org> # 4.0
Fixes: 10ad34bc76dfb ("s390: add SMT support")
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/kernel/smp.c