From cde9070d9970eef1f7ec2360586c802a16230ad8 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:43:50 +0000
Subject: [PATCH] rtl88x2CE_WiFi_linux driver

---
 kernel/arch/powerpc/kexec/crash.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/kernel/arch/powerpc/kexec/crash.c b/kernel/arch/powerpc/kexec/crash.c
index d488311..c9a8898 100644
--- a/kernel/arch/powerpc/kexec/crash.c
+++ b/kernel/arch/powerpc/kexec/crash.c
@@ -311,6 +311,9 @@
 	unsigned int i;
 	int (*old_handler)(struct pt_regs *regs);
 
+	/* Avoid hardlocking with irresponsive CPU holding logbuf_lock */
+	printk_nmi_enter();
+
 	/*
 	 * This function is only called after the system
 	 * has panicked or is otherwise in a critical state.

--
Gitblit v1.6.2