Re: [PATCH v2] printk/console: Enable console kthreads only when there is no boot console left

From: John Ogness
Date: Tue Jun 21 2022 - 07:35:39 EST


On 2022-06-21, Petr Mladek <pmladek@xxxxxxxx> wrote:
> Threaded console printing does not take into consideration that boot
> consoles may be accessing the same hardware as normal consoles and thus
> must not be called in parallel.
>
> Since it is currently not possible to identify which consoles are
> accessing the same hardware, delay threaded console printing activation
> until it is known that there are no boot consoles registered.
>
> Link: https://lore.kernel.org/r/20220619204949.50d9154d@thinkpad
> Link: https://lore.kernel.org/r/2a82eae7-a256-f70c-fd82-4e510750906e@xxxxxxxxxxx
> Link: https://lore.kernel.org/r/20220619204949.50d9154d@thinkpad
> Reported-by: Marek Behún <kabel@xxxxxxxxxx>
> [john.ogness@xxxxxxxxxxxxx: Better description of the problem.]
> Signed-off-by: Petr Mladek <pmladek@xxxxxxxx>
> Tested-by: Marek Behún <kabel@xxxxxxxxxx>

Reviewed-by: John Ogness <john.ogness@xxxxxxxxxxxxx>