Skip to content
Commit bcc954c6 authored by Ryo Takakura's avatar Ryo Takakura Committed by Petr Mladek
Browse files

printk/panic: Allow cpu backtraces to be written into ringbuffer during panic



commit 779dbc2e ("printk: Avoid non-panic CPUs writing
to ringbuffer") disabled non-panic CPUs to further write messages to
ringbuffer after panicked.

Since the commit, non-panicked CPU's are not allowed to write to
ring buffer after panicked and CPU backtrace which is triggered
after panicked to sample non-panicked CPUs' backtrace no longer
serves its function as it has nothing to print.

Fix the issue by allowing non-panicked CPUs to write into ringbuffer
while CPU backtrace is in flight.

Fixes: 779dbc2e ("printk: Avoid non-panic CPUs writing to ringbuffer")
Signed-off-by: default avatarRyo Takakura <takakura@valinux.co.jp>
Reviewed-by: default avatarPetr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20240812072703.339690-1-takakura@valinux.co.jp


Signed-off-by: default avatarPetr Mladek <pmladek@suse.com>
parent 8bf10009
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment