Commit 95350375 authored by Alexander Gordeev's avatar Alexander Gordeev

Revert "s390/smp: enforce lowcore protection on CPU restart"

This reverts commit 6f5c672d.

This breaks normal crash dump when CPU0 is offline.
Signed-off-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
parent 5e441f61
...@@ -507,8 +507,8 @@ static void __init setup_lowcore_dat_on(void) ...@@ -507,8 +507,8 @@ static void __init setup_lowcore_dat_on(void)
S390_lowcore.svc_new_psw.mask |= PSW_MASK_DAT; S390_lowcore.svc_new_psw.mask |= PSW_MASK_DAT;
S390_lowcore.program_new_psw.mask |= PSW_MASK_DAT; S390_lowcore.program_new_psw.mask |= PSW_MASK_DAT;
S390_lowcore.io_new_psw.mask |= PSW_MASK_DAT; S390_lowcore.io_new_psw.mask |= PSW_MASK_DAT;
__ctl_set_bit(0, 28);
__ctl_store(S390_lowcore.cregs_save_area, 0, 15); __ctl_store(S390_lowcore.cregs_save_area, 0, 15);
__ctl_set_bit(0, 28);
put_abs_lowcore(restart_flags, RESTART_FLAG_CTLREGS); put_abs_lowcore(restart_flags, RESTART_FLAG_CTLREGS);
put_abs_lowcore(program_new_psw, lc->program_new_psw); put_abs_lowcore(program_new_psw, lc->program_new_psw);
for (cr = 0; cr < ARRAY_SIZE(lc->cregs_save_area); cr++) for (cr = 0; cr < ARRAY_SIZE(lc->cregs_save_area); cr++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment