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

From: John Ogness

Date: Tue Jul 07 2026 - 04:00:51 EST


On 2026-07-06, Andrew Murray <amurray@xxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxx