diff options
author | Alexander Gordeev <[email protected]> | 2021-06-18 08:17:15 +0200 |
---|---|---|
committer | Vasily Gorbik <[email protected]> | 2021-07-05 12:44:23 +0200 |
commit | 7f6dc8d4c880f64b9d450d780d88985b264d8793 (patch) | |
tree | c96580754a851422b877d68f1d8bf7e73869b3e5 /scripts/gdb/linux/tasks.py | |
parent | e2c13d64200bff0aa3964017cfabb0bc47691022 (diff) |
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 <[email protected]>
Reviewed-by: Heiko Carstens <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions