Re: [PATCH printk v8 00/35] wire up write_atomic() printing
From: Petr Mladek
Date: Wed Aug 21 2024 - 06:56:32 EST
On Tue 2024-08-20 08:35:26, John Ogness wrote:
> Hi,
>
> This is v8 of a series to wire up the nbcon consoles so that
> they actually perform printing using their write_atomic()
> callback. v7 is here [0]. For information about the motivation
> of the atomic consoles, please read the cover letter of v1 [1].
>
> The main focus of this series:
>
> - For nbcon consoles, always call write_atomic() directly from
> printk() caller context for the panic CPU.
>
> - For nbcon consoles, call write_atomic() when unlocking the
> console lock.
>
> - Only perform the console lock/unlock dance if legacy or boot
> consoles are registered.
>
> - For legacy consoles, if nbcon consoles are registered, do not
> attempt to print from printk() caller context for the panic
> CPU until nbcon consoles have had a chance to print the most
> significant messages.
>
> - Mark emergency sections. In these sections, every printk()
> call will attempt to directly flush to the consoles using the
> EMERGENCY priority.
>
> This series does _not_ include threaded printing or nbcon
> drivers. Those features will be added in separate follow-up
> series.
The series seems to be ready for linux-next from my POV.
I am going to push it there once I get approval from John about
the proposed update of the commit message for the 30th patch,
see https://lore.kernel.org/r/ZsWvRETyuh1Yq80j@xxxxxxxxxxxxxxx
Best Regards,
Petr