[PATCH 0/5] printk: renaming some suspend/resume functions and one fix for unblanking
Marcos Paulo de Souza
mpdesouza at suse.com
Wed Feb 26 11:59:00 PST 2025
Hello, I've being working on some patches that help to clarify the suspend/resume
of printk machinery. The last patch on this patchset address one issue regarding
suspended consoles and blanking.
This is a part one patchset that I would like to see merged before I send more patches
that will rework the suspend flag (a global suspend flag istead of per console) and
the removal of CON_ENABLED flag later on (I've created a function that will forcibly)
register the console instead of using this flag.
Please review!
Signed-off-by: Marcos Paulo de Souza <mpdesouza at suse.com>
---
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
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/printk.c | 30 ++++++++++++++--------
.../pm-graph/config/custom-timeline-functions.cfg | 4 +--
tools/power/pm-graph/sleepgraph.py | 6 ++---
8 files changed, 46 insertions(+), 36 deletions(-)
---
base-commit: ffd294d346d185b70e28b1a28abe367bbfe53c04
change-id: 20250225-printk-renaming-126c1a11ad7a
Best regards,
--
Marcos Paulo de Souza <mpdesouza at suse.com>
More information about the kexec
mailing list