Alexander Gordeev 7f6dc8d4c8 s390/mcck: always enter C handler with DAT enabled
The machine check handler must be entered with DAT disabled
in case control registers are corrupted or a storage error
happened and we can not tell if such error corresponds to a
page table.

Both of described conditions end up in stopping all CPUs and
entering the disabled wait in C half of the handler. However,
the storage errors are still checked after the DAT is enabled
and C code is entered. In case a page table is damaged such
flow is not expected to work.

This update paves the way for moving the storage error checks
from C to assembler half. All fatal errors that can only be
handled with DAT disabled are handled in assembler half also.
As result, the C half is only entered if the DAT is secured.

Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2021-07-05 12:44:23 +02:00
..
2021-02-13 17:17:54 +01:00
2021-01-19 12:29:26 +01:00
2021-06-18 16:41:19 +02:00
2021-04-18 21:32:02 +02:00
2021-01-19 12:29:26 +01:00
2020-12-17 13:22:17 -08:00
2021-07-04 12:17:38 -07:00
2021-06-07 17:07:01 +02:00
2021-07-05 12:44:23 +02:00
2020-06-29 16:31:46 +02:00
2021-04-12 12:46:41 +02:00
2021-03-22 11:36:05 +01:00
2021-06-18 11:43:07 +02:00
2021-07-04 12:17:38 -07:00
2021-01-19 12:29:26 +01:00