]> 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)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Thu, 28 Jul 2022 16:05:23 +0000 (18:05 +0200)
commit1f7e06e83c5487b7d0f0e4ce25eee8eff72956ad
treee2d8a6ff6d31cffecf5866496897ccf6156ee78f
parente70664093dd18180af475ba1e25b0e7a1cb753ef
s390/smp: enforce lowcore protection on CPU restart

As result of commit dbe86eb6aefa ("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: dbe86eb6aefa ("s390/smp: enable DAT before CPU restart callback is called")
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/setup.c