]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
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)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 4 Jan 2021 15:47:24 +0000 (16:47 +0100)
commitd5673ca783bc1fd9ded0a252386ece202960110d
tree0b0fd6bbbd1408407fcb3970724b0f657876aedf
parent3ff37634fe62da7ec3a930211563e65c99d18903
s390/smp: perform initial CPU reset also for SMT siblings

BugLink: https://bugs.launchpad.net/bugs/1910111
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>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
arch/s390/kernel/smp.c