]> git.baikalelectronics.ru Git - kernel.git/commit
s390/nmi: disable interrupts on extended save area update
authorAlexander Gordeev <agordeev@linux.ibm.com>
Fri, 10 Dec 2021 15:32:11 +0000 (16:32 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 16 Dec 2021 18:58:07 +0000 (19:58 +0100)
commit9b95bf48095d81667d13f1004fa70628110ec410
treeacd60b4b292b8e02a2fc4338653b9ce4d09ab763
parent7bf45fa45d37f644bef7346bbb2ac65fe042b9c3
s390/nmi: disable interrupts on extended save area update

Updating of the pointer to machine check extended save area
on the IPL CPU needs the lowcore protection to be disabled.
Disable interrupts while the protection is off to avoid
unnoticed writes to the lowcore.

Suggested-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/nmi.h
arch/s390/kernel/nmi.c
arch/s390/kernel/setup.c
arch/s390/kernel/smp.c