Re: [PATCH v2] printk: Remove console options before decoding the name

From: David Engraf

Date: Mon Sep 21 2026 - 02:19:26 EST


On 21.09.26 08:17 wrote Tony Lindgren:
On Fri, Sep 18, 2026 at 09:27:03AM +0300, David Engraf wrote:
On 17.09.26 17:03 wrote Tony Lindgren:
On Thu, Sep 17, 2026 at 09:05:51AM +0300, David Engraf wrote:
This fixes a regression when a console option includes ':'. Commit
7640f1a44eba ("printk: Add match_devname_and_update_preferred_console()")
introduced console=DEVNAME:0.0 hardware style addressing by looking for a
colon. If the colon is part of an option the name is handled as devname
instead of ttyname.

Just curious, which console did you hit this issue with?

It's a self-developed console driver to access our hypervisor.

OK thanks. From a "fix or feature" point of view, I wonder if this issue
can happen with some of the current Linux console drivers too?

AFAIK there is no restriction using ':' in the console options even if I don't know any in-kernel driver using it. That's why I would say it's a bug fix.

Best regards
- David