Re: [PATCH printk v8 29/35] printk: Coordinate direct printing in panic
From: Petr Mladek
Date: Tue Aug 20 2024 - 11:22:13 EST
On Tue 2024-08-20 08:35:55, John Ogness wrote:
> If legacy and nbcon consoles are registered and the nbcon
> consoles are allowed to flush (i.e. no boot consoles
> registered), the legacy consoles will no longer perform
> direct printing on the panic CPU until after the backtrace
> has been stored. This will give the safe nbcon consoles a
> chance to print the panic messages before allowing the
> unsafe legacy consoles to print.
>
> If no nbcon consoles are registered or they are not allowed
> to flush because boot consoles are registered, there is no
> change in behavior (i.e. legacy consoles will always attempt
> to print from the printk() caller context).
>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>
Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>
Best Regards,
Petr