hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/powerpc/kexec/crash.c
....@@ -311,6 +311,9 @@
311311 unsigned int i;
312312 int (*old_handler)(struct pt_regs *regs);
313313
314
+ /* Avoid hardlocking with irresponsive CPU holding logbuf_lock */
315
+ printk_nmi_enter();
316
+
314317 /*
315318 * This function is only called after the system
316319 * has panicked or is otherwise in a critical state.