s390/smp: perform cpu reset before delegating work to target cpu
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 27 Feb 2023 17:56:10 +0000 (18:56 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 28 Feb 2023 12:19:06 +0000 (13:19 +0100)
commite688c6255b742428ea8fa7e4fb8181a6135205e9
treee6f7e1fa3284b6facf519114ca7fa6d36c1b283f
parente7ec1d2eac9cad57ff615ef6cc3e324ab7238b82
s390/smp: perform cpu reset before delegating work to target cpu

Clear CPU state (e.g. all TLB entries, prefetched instructions, etc.)
of the target CPU, however without clearing register contents before
starting any work on it.

This puts the target CPU in a more defined state compared to the
current Stop + Restart sigp orders.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/smp.c