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)
commitc7ed509b21b6566990ff39a6744cd5e214b5dca9
treeacd60b4b292b8e02a2fc4338653b9ce4d09ab763
parentcff2d3abc8da078a0447d785736204d8a0ad49b0
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