OSDN Git Service

s390/nmi: move storage error checking back to C, enter with DAT on
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 29 Nov 2022 16:22:14 +0000 (17:22 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 6 Dec 2022 15:18:25 +0000 (16:18 +0100)
commit742aed05af97dc5ba6c53a4b6cb6a7b31e32f9e9
treebdde363f98f9fac1bedb7a2c1b5c4255eb94fba3
parent506faa5b9b4f05e667b39252a28dace17a5017a1
s390/nmi: move storage error checking back to C, enter with DAT on

Checking for storage errors in machine check entry code was done in order
to handle also storage errors on kernel page tables. However this is
extremely unlikely and some basic assumptions what works on machine check
entry are necessary anyway. In order to simplify machine check handling
delay checking for storage errors to C code.
With this also change the machine check new PSW to have DAT on, which
simplifies the entry code even further.

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/entry.S
arch/s390/kernel/nmi.c
arch/s390/kernel/setup.c