[PATCH v2 3/4] printk: nbcon: move printk_delay to console emiting code

John Ogness john.ogness at linutronix.de
Tue Jul 7 00:34:42 PDT 2026


On 2026-07-06, Andrew Murray <amurray at thegoodpenguin.co.uk> wrote:
> If you want to ensure printk is synchronous, perhaps you could call
> nbcon_cpu_emergency_enter() prior to your printk, or perhaps there are
> already printk wrappers that do somthing similar whilst debugging?
> Would that provide a more reliable way to guarantee output?

Note that it is planned (at least on my TODO list) to introduce a "sync"
option for consoles for exactly this purpose. I talked about it here
[0].

John

[0] https://lore.kernel.org/lkml/87a6wez9s4.fsf@jogness.linutronix.de



More information about the linux-arm-kernel mailing list