[GIT PULL] printk for 6.15

From: Petr Mladek
Date: Thu Mar 27 2025 - 06:59:47 EST


Hi Linus,

please pull the latest printk changes from

git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git tags/printk-for-6.15

==============================================

- New option "printk.debug_non_panic_cpus" allows to store printk
messages from non-panic CPUs during panic. It might be useful
when panic() fails. It is disabled by default because it increases
the chance to see the messages printed before panic() and on
the panic-CPU.

- New build option "CONFIG_NULL_TTY_DEFAULT_CONSOLE" allows to build
kernel without the virtual terminal support which prefers ttynull
over serial console.

- Do not unblank suspended consoles.

- Some code clean up.

----------------------------------------------------------------
Adam Simonelli (1):
printk: Add an option to allow ttynull to be a default console device

Donghyeok Choe (1):
printk/panic: Add option to allow non-panic CPUs to write to the ring buffer.

Marcos Paulo de Souza (5):
printk: Rename suspend_console to console_suspend_all
printk: Rename resume_console to console_resume_all
printk: Rename console_stop to console_suspend
printk: Rename console_start to console_resume
printk: Check CON_SUSPEND when unblanking a console

Petr Mladek (1):
Merge branch 'for-6.15-console-suspend-api-cleanup' into for-linus

Documentation/admin-guide/kernel-parameters.txt | 8 ++++
Documentation/admin-guide/serial-console.rst | 4 +-
drivers/gpu/drm/clients/drm_log.c | 4 +-
drivers/tty/Kconfig | 19 +++++++-
drivers/tty/serial/serial_core.c | 6 +--
include/linux/console.h | 8 ++--
kernel/kexec_core.c | 4 +-
kernel/power/hibernate.c | 16 +++----
kernel/power/suspend.c | 8 ++--
kernel/printk/internal.h | 1 +
kernel/printk/printk.c | 55 +++++++++++++++++-----
kernel/printk/printk_ringbuffer.c | 13 +++--
.../pm-graph/config/custom-timeline-functions.cfg | 4 +-
tools/power/pm-graph/sleepgraph.py | 6 +--
14 files changed, 110 insertions(+), 46 deletions(-)