[PATCH printk 5/6] printk: Add panic+kexec flush point
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Tue Nov 10 04:31:44 PST 2026
> During panic, nbcon consoles transition to atomic printing. However,
> there are consoles that do not support safe atomic printing
> (CON_NBCON_ATOMIC_UNSAFE). Such consoles will only flush during
> panic if their unsafe flush policy allows them to do so.
>
> The unsafe flush policy NBCON_PANIC_FLUSH only allows unsafe
> flushing when particular flushes are explicitly invoked. Call
> printk_trigger_flush(PR_FLUSH_RESTART) before performing the kexec
> in order to give such consoles a chance to perform an unsafe flush.
>
> Signed-off-by: John Ogness <john.ogness at linutronix.de>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261109123127.489676-1-john.ogness@linutronix.de?part=5
More information about the kexec
mailing list