[PATCH v4 0/3] printk/console: Fix preferred console handling
From: Petr Mladek
Date: Thu Feb 13 2020 - 04:51:51 EST
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(-)
--
2.16.4