]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - lib/nmi_backtrace.c
UBUNTU: SAUCE: IPU6: 2022-04-01 Andrews MLK PV release
[mirror_ubuntu-jammy-kernel.git] / lib / nmi_backtrace.c
index f9e89001b52ebdc08e3f5e6afa8c44fbf576844d..199ab201d5019c7c216f4db0f32da947e1d4503c 100644 (file)
@@ -75,6 +75,12 @@ void nmi_trigger_cpumask_backtrace(const cpumask_t *mask,
                touch_softlockup_watchdog();
        }
 
+       /*
+        * Force flush any remote buffers that might be stuck in IRQ context
+        * and therefore could not run their irq_work.
+        */
+       printk_trigger_flush();
+
        clear_bit_unlock(0, &backtrace_flag);
        put_cpu();
 }