Re: [PATCH v6 00/16] printk: Clean up preferred console handling

From: Petr Mladek

Date: Mon Nov 09 2026 - 10:53:14 EST


On Fri 2026-11-06 18:19:36, Petr Mladek wrote:
> Hi,
>
> this patchset does some clean up of the code for handling preferred
> consoles in the console registration code.
>
> It is a prerequisite some more patchsets, namely:
>
> + for Marcos' clean up of CON_ENABLE
> flag handling. It should prevent regressions caused by the
> hidden effects of try_enable_preferred_console(), for example,
> see https://lore.kernel.org/r/89409a0f48e6998ff6dd2245691b9954f0e1e435.camel@xxxxxxxx
>
> + for Chris' per-console log-level, see
> https://lore.kernel.org/r/cover.1764272407.git.chris@xxxxxxxxxxxxxx
>
> and maybe even some more.

Heh, Sashiko AI makes things interesting. It found some real problems
which I just commented.

I have the fixes mostly ready. I wonder whether you would prefer that
I send v7 or you have already started review of v6.

I do not have strong opinion. The changes are rather simple. But the
code is not trivial so that even small changes have surprising effects.

Best Regards,
Petr