projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e441f6
)
Revert "s390/smp: enforce lowcore protection on CPU restart"
author
Alexander Gordeev
<agordeev@linux.ibm.com>
Sat, 6 Aug 2022 07:29:46 +0000
(09:29 +0200)
committer
Alexander Gordeev
<agordeev@linux.ibm.com>
Sat, 6 Aug 2022 07:29:46 +0000
(09:29 +0200)
This reverts commit
6f5c672d17f583b081e283927f5040f726c54598
.
This breaks normal crash dump when CPU0 is offline.
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/setup.c
patch
|
blob
|
history
diff --git
a/arch/s390/kernel/setup.c
b/arch/s390/kernel/setup.c
index 8f483132901ede0e77190366635bf70d602a11b6..c5d295c5e7287461935eb97f367a7b582025e9a3 100644
(file)
--- 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++)