forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
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.