forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
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.