Skip to content

printk/console: Fix preferred console handling

Petr Mladek lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest3 patches 8 repliesIn review

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3printk: Move console matching logic into a separate functionkernel/printk/printk.c+65 -400 replies
2/3printk: Fix preferred console selection with multiple matcheskernel/printk/console_cmdline.h kernel/printk/printk.c+19 -110 replies
3/3printk: Correctly set CON_CONSDEV even when preferred console was not registeredinclude/linux/console.h kernel/printk/printk.c+3 -10 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPetr MladekSergey Senozhatsky
SeriesR-b
1/3R-b R-b
2/3R-b
3/3R-b

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

Read the v4 thread

Cover letter [PATCH v4 0/3] printk/console: Fix preferred console handling

Hi,

I send this on behalf of Benjamin who is traveling at the moment. It is an interesting approach to long terms problems with matching the console preferred on the command line.

Changes against v3:

+ better check when accepting pre-enabled consoles
+ correct reasoning in the 3rd patch
+ update a comment of CON_CONSDEV definition
+ fixed checkpatch warnings

Best Regards,
Petr

Benjamin Herrenschmidt (3):
printk: Move console matching logic into a separate function
printk: Fix preferred console selection with multiple matches
printk: Correctly set CON_CONSDEV even when preferred console was not
registered

 include/linux/console.h         |   2 +-
 kernel/printk/console_cmdline.h |   1 +
 kernel/printk/printk.c          | 122 +++++++++++++++++++++++++---------------
 3 files changed, 80 insertions(+), 45 deletions(-)
Signature · 1 line
2.16.4