Re: [PATCH] Documentation/serial-console: Document the behavior when the last console= parameter is not used

From: Sergey Senozhatsky
Date: Thu Mar 09 2023 - 20:55:05 EST


On (23/03/08 12:24), Petr Mladek wrote:
>
> The console= kernel command-line parameter defines where the kernel
> messages appear. It can be used multiple times to make the kernel log
> visible on more devices.
>
> The ordering of the console= parameters is important. In particular,
> the last one defines which device can be accessed also via /dev/console.
>
> The behavior is more complicated when the last console= parameter is
> ignored by kernel. It might be surprising because it was not intentional.
> The kernel just works this way historically.
>
> There were few attempts to change the behavior. Unfortunately, it can't
> be done because it would break existing users. Document the historical
> behavior at least.
>
> Link: https://lore.kernel.org/r/20170606143149.GB7604@xxxxxxxxxxxxxxx
> Link: https://lore.kernel.org/r/20230213113912.1237943-1-rkanwal@xxxxxxxxxxxx
> Signed-off-by: Petr Mladek <pmladek@xxxxxxxx>

Looks good!

Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>