]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdbd7201e6ddba895cd7cfe402952c8c27c1694ce
treec024bcd9859e0cf4fffd9edd3d917538582e6ed3
parenta863da7c49e057aa4a146dc70396bb760e6d9a25
s390/smp: enforce lowcore protection on CPU restart

As result of commit 26ea42b4ff74 ("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: 26ea42b4ff74 ("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