| Date | Thu, 29 Feb 2024 14:53:35 +0100 | From | Petr Mladek <> | Subject | Re: [PATCH printk v2 18/26] printk: nbcon: Add unsafe flushing on panic |
| |
On Sun 2024-02-18 20:03:18, John Ogness wrote: > Add nbcon_atomic_flush_unsafe() to flush all nbcon consoles > using the write_atomic() callback and allowing unsafe hostile > takeovers. Call this at the end of panic() as a final attempt > to flush any pending messages. > > Note that legacy consoles use unsafe methods for flushing > from the beginning of panic (see bust_spinlocks()). Therefore, > systems using both legacy and nbcon consoles may still fail to > see panic messages due to unsafe legacy console usage. > > Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Best Regards, Petr
|