s390/nmi: print machine check interruption code before stopping system
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 28 Nov 2022 13:16:33 +0000 (14:16 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 6 Dec 2022 15:18:25 +0000 (16:18 +0100)
commit506faa5b9b4f05e667b39252a28dace17a5017a1
tree2d2267db461afe0ecd5324e02caa346dc978c9d7
parentb64d7254ffe8b11010150fa97a4b235ec36e7a90
s390/nmi: print machine check interruption code before stopping system

In case a system will be stopped because of e.g. missing validity bits
print the machine check interruption code before the system is stopped.

This is helpful, since up to now no message was printed in such a
case. Only a disabled wait PSW was loaded, which doesn't give a hint of
what went wrong.
Improve this by printing a message with debug information.

Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/nmi.c