aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-add.c
diff options
context:
space:
mode:
authorDonghyeok Choe <[email protected]>2025-03-18 02:23:20 +0000
committerPetr Mladek <[email protected]>2025-03-20 14:48:36 +0000
commitc1aa3daa517292303d98ff61f0440c354669f948 (patch)
tree01fc3b28e2e1ac7a68c3f5ead9229252ceaba96d /lib/crypto/mpi/mpi-add.c
parentprintk: Add an option to allow ttynull to be a default console device (diff)
downloadkernel-c1aa3daa517292303d98ff61f0440c354669f948.tar.gz
kernel-c1aa3daa517292303d98ff61f0440c354669f948.zip
printk/panic: Add option to allow non-panic CPUs to write to the ring buffer.
Commit 779dbc2e78d7 ("printk: Avoid non-panic CPUs writing to ringbuffer") aimed to isolate panic-related messages. However, when panic() itself malfunctions, messages from non-panic CPUs become crucial for debugging. While commit bcc954c6caba ("printk/panic: Allow cpu backtraces to be written into ringbuffer during panic") enables non-panic CPU backtraces, it may not provide sufficient diagnostic information. Introduce the "debug_non_panic_cpus" command-line option, enabling non-panic CPU messages to be stored in the ring buffer during a panic. This also prevents discarding non-finalized messages from non-panic CPUs during console flushing, providing a more comprehensive view of system state during critical failures. Link: https://lore.kernel.org/all/Z8cLEkqLL2IOyNIj@pathway/ Signed-off-by: Donghyeok Choe <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected] [[email protected]: Added documentation, added module_parameter, removed printk_ prefix.] Tested-by: Petr Mladek <[email protected]> Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions