Skip to content

Add back DEVNAME:0.0 console handling

Tony Lindgren linux-doc linux-serial lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3printk: Add match_devname_and_update_preferred_console()include/linux/printk.h kernel/printk/console_cmdline.h kernel/printk/printk.c+93 -152 replies
2/3serial: core: Add serial_base_match_and_update_preferred_console()drivers/tty/serial/serial_base.h drivers/tty/serial/serial_base_bus.c drivers/tty/serial/serial_core.c+57 -00 replies
3/3Documentation: kernel-parameters: Add DEVNAME:0.0 format for serial portsDocumentation/admin-guide/kernel-parameters.txt+19 -01 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchDhruva GolePetr Mladek
1/3R-b
2/3
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Add back DEVNAME:0.0 console handling

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/[email protected]/
[1] https://lore.kernel.org/linux-serial/[email protected]/

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

Signature · 1 line
2.45.2