Thread (4 messages) flat view 4 messages, 3 authors, 2020-06-09

Re: [PATCH v2 1/1] powerpc/crash: Use NMI context for printk when starting to crash

From: Michael Ellerman <hidden>
Date: 2020-06-09 05:29:14
Also in: lkml

On Tue, 12 May 2020 18:45:35 -0300, Leonardo Bras wrote:
Currently, if printk lock (logbuf_lock) is held by other thread during
crash, there is a chance of deadlocking the crash on next printk, and
blocking a possibly desired kdump.

At the start of default_machine_crash_shutdown, make printk enter
NMI context, as it will use per-cpu buffers to store the message,
and avoid locking logbuf_lock.
Applied to powerpc/next.

[1/1] powerpc/crash: Use NMI context for printk when starting to crash
      https://git.kernel.org/powerpc/c/af2876b501e42c3fb5174cac9dd02598436f0fdf

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help