[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251121-printk-cleanup-part2-v2-0-57b8b78647f4@suse.com>
Date: Fri, 21 Nov 2025 15:50:32 -0300
From: Marcos Paulo de Souza <mpdesouza@...e.com>
To: Petr Mladek <pmladek@...e.com>, Steven Rostedt <rostedt@...dmis.org>,
John Ogness <john.ogness@...utronix.de>,
Sergey Senozhatsky <senozhatsky@...omium.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>,
Jason Wessel <jason.wessel@...driver.com>,
Daniel Thompson <danielt@...nel.org>,
Douglas Anderson <dianders@...omium.org>,
Richard Weinberger <richard@....at>,
Anton Ivanov <anton.ivanov@...bridgegreys.com>,
Johannes Berg <johannes@...solutions.net>
Cc: linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
kgdb-bugreport@...ts.sourceforge.net, linux-um@...ts.infradead.org,
Marcos Paulo de Souza <mpdesouza@...e.com>
Subject: [PATCH v2 0/4] printk cleanup - part 2
The first part can be found here[1]. The proposed changes do not
change the functionality of printk, but were suggestions made by
Petr Mladek. I already have more patches for a part 3 ,but I would like
to see these ones merged first.
I did the testing with VMs, checking suspend and resume cycles, and it worked
as expected.
Thanks for reviewing!
[1]: https://lore.kernel.org/lkml/20250226-printk-renaming-v1-0-0b878577f2e6@suse.com/
Signed-off-by: Marcos Paulo de Souza <mpdesouza@...e.com>
---
Changes in v2:
- Squashed patches 1 and 3 (CON_SUSPEND usage) and now is the last patch
of the series, suggested by Petr Mladek
- Moved commit 4 as the first one in the series, and it was changed to
use console_is_usable helper, suggested by Petr Mladek
- Moved commit 5 as the second commit in the series, and adjusted to use
console_is_usable helper, suggested by Petr Mladek
- The patch 6 was dropped, since it was implemented in a different patchset
(https://lore.kernel.org/lkml/20250902-nbcon-kgdboc-v3-0-cd30a8106f1c@suse.com/)
- Patch 7 was moved as third patch, and is using the console_is_usable,
suggested by Petr Mladek
- Patch 2 was dropped from this patchset, and will be included in the
next cleanup patchset.
- Link to v1: https://lore.kernel.org/r/20250606-printk-cleanup-part2-v1-0-f427c743dda0@suse.com
---
Marcos Paulo de Souza (4):
drivers: serial: kgdboc: Drop checks for CON_ENABLED and CON_BOOT
arch: um: kmsg_dump: Use console_is_usable
printk: Use console_is_usable on console_unblank
printk: Make console_{suspend,resume} handle CON_SUSPENDED
arch/um/kernel/kmsg_dump.c | 2 +-
drivers/tty/serial/kgdboc.c | 1 -
drivers/tty/tty_io.c | 2 +-
kernel/printk/printk.c | 17 +++++++----------
4 files changed, 9 insertions(+), 13 deletions(-)
---
base-commit: 887c7f05d40eb51ba3f38fd71d5e6b4aff4bb8a2
change-id: 20250601-printk-cleanup-part2-38f8d5108099
Best regards,
--
Marcos Paulo de Souza <mpdesouza@...e.com>
Powered by blists - more mailing lists