From 151fecfb72a0d602dfe79790602ef64b4e241574 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 19 Feb 2024 01:51:07 +0000 Subject: [PATCH] export RK_PA3 --- kernel/lib/nmi_backtrace.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/kernel/lib/nmi_backtrace.c b/kernel/lib/nmi_backtrace.c index b09a490..8abe187 100644 --- a/kernel/lib/nmi_backtrace.c +++ b/kernel/lib/nmi_backtrace.c @@ -75,6 +75,12 @@ touch_softlockup_watchdog(); } + /* + * Force flush any remote buffers that might be stuck in IRQ context + * and therefore could not run their irq_work. + */ + printk_safe_flush(); + clear_bit_unlock(0, &backtrace_flag); put_cpu(); } -- Gitblit v1.6.2