diff options
author | Alexander Gordeev <agordeev@linux.ibm.com> | 2022-08-06 09:29:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-17 14:24:30 +0200 |
commit | 276e1cac808587bf4a49b26fc13b386ca52ad5e4 (patch) | |
tree | 7bd03658da1ca5b8a7f94d794f230052b9c72f1c | |
parent | 93d28e50cf7260ef66786fb9ca47c97670831748 (diff) | |
download | linux-stable-276e1cac808587bf4a49b26fc13b386ca52ad5e4.tar.gz linux-stable-276e1cac808587bf4a49b26fc13b386ca52ad5e4.tar.bz2 linux-stable-276e1cac808587bf4a49b26fc13b386ca52ad5e4.zip |
Revert "s390/smp: enforce lowcore protection on CPU restart"
commit 953503751a426413ea8aee2299ae3ee971b70d9b upstream.
This reverts commit 6f5c672d17f583b081e283927f5040f726c54598.
This breaks normal crash dump when CPU0 is offline.
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | arch/s390/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index c8e7b3db82e2..6b1a8697fae8 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c @@ -507,8 +507,8 @@ static void __init setup_lowcore_dat_on(void) S390_lowcore.svc_new_psw.mask |= PSW_MASK_DAT; S390_lowcore.program_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_set_bit(0, 28); put_abs_lowcore(restart_flags, RESTART_FLAG_CTLREGS); put_abs_lowcore(program_new_psw, lc->program_new_psw); for (cr = 0; cr < ARRAY_SIZE(lc->cregs_save_area); cr++) |