linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Add back DEVNAME:0.0 console handling
@ 2024-07-03 10:06 Tony Lindgren
  2024-07-03 10:06 ` [PATCH 1/3] printk: Add match_devname_and_update_preferred_console() Tony Lindgren
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Tony Lindgren @ 2024-07-03 10:06 UTC (permalink / raw)
  To: Jonathan Corbet, Greg Kroah-Hartman, Jiri Slaby, Petr Mladek,
	Steven Rostedt, John Ogness, Sergey Senozhatsky
  Cc: Ilpo Järvinen, linux-serial, Tony Lindgren, Dhruva Gole,
	Sebastian Reichel, linux-doc, linux-kernel

Hi all,

Here are the changes to add back the DEVNAME:0.0 style kernel command
line console handling.

The earlier attempt to add DEVNAME:0.0 style console handling caused a
regression to the kernel command line console ordering, and we reverted
the whole series. The fixes would have been too intrusive for the
v6.10-rc series as discussed in [0] below.

These patches are based on v6.10-rc6, and essentially the same as in [0].
Because of the rebase, I've left out Petr's Reviewed-by and Tested-by tags.

Compared to the original DEVNAME:0.0 patch series [1], things are much
simplified. We now have rewritten the printk deferred console handling
thanks to Petr, and have renamed the serial functions accordingly. And as
we are not deferring ttyS named consoles, the serial core console quirk
handling been been left out.

Regards,

Tony

[0] https://lore.kernel.org/linux-serial/20240620124541.164931-1-tony.lindgren@linux.intel.com/
[1] https://lore.kernel.org/linux-serial/20240327110021.59793-1-tony@atomide.com/

Tony Lindgren (3):
  printk: Add match_devname_and_update_preferred_console()
  serial: core: Add serial_base_match_and_update_preferred_console()
  Documentation: kernel-parameters: Add DEVNAME:0.0 format for serial
    ports

 .../admin-guide/kernel-parameters.txt         |  19 ++++
 drivers/tty/serial/serial_base.h              |  16 +++
 drivers/tty/serial/serial_base_bus.c          |  37 +++++++
 drivers/tty/serial/serial_core.c              |   4 +
 include/linux/printk.h                        |   4 +
 kernel/printk/console_cmdline.h               |   1 +
 kernel/printk/printk.c                        | 103 +++++++++++++++---
 7 files changed, 169 insertions(+), 15 deletions(-)


base-commit: 22a40d14b572deb80c0648557f4bd502d7e83826
-- 
2.45.2


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-07-04 12:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-03 10:06 [PATCH 0/3] Add back DEVNAME:0.0 console handling Tony Lindgren
2024-07-03 10:06 ` [PATCH 1/3] printk: Add match_devname_and_update_preferred_console() Tony Lindgren
2024-07-04 11:44   ` Petr Mladek
2024-07-04 12:57     ` Greg Kroah-Hartman
2024-07-03 10:06 ` [PATCH 2/3] serial: core: Add serial_base_match_and_update_preferred_console() Tony Lindgren
2024-07-03 10:06 ` [PATCH 3/3] Documentation: kernel-parameters: Add DEVNAME:0.0 format for serial ports Tony Lindgren
2024-07-04 11:44   ` Petr Mladek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).