s390/smp: enforce lowcore protection on CPU restart
authorAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 20 Jul 2022 05:24:03 +0000 (07:24 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 7 Sep 2022 12:04:01 +0000 (14:04 +0200)
commit8d96bba75a43ba564bf8732e955d9f519d2bbaec
treec024bcd9859e0cf4fffd9edd3d917538582e6ed3
parent12dd19c159659ec9050f45dc8a2ff3c3917f4be3
s390/smp: enforce lowcore protection on CPU restart

As result of commit 915fea04f932 ("s390/smp: enable DAT before
CPU restart callback is called") the low-address protection bit
gets mistakenly unset in control register 0 save area of the
absolute zero memory. That area is used when manual PSW restart
happened to hit an offline CPU. In this case the low-address
protection for that CPU will be dropped.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Fixes: 915fea04f932 ("s390/smp: enable DAT before CPU restart callback is called")
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/setup.c