Re: [14/15] tty: hvc: introduce the hv_ops.flush operation for hvc drivers

2018-08-13 Thread Michael Ellerman
On Mon, 2018-04-30 at 14:55:57 UTC, Nicholas Piggin wrote: > Use .flush to wait for drivers to flush their console outside of > the spinlock, to reduce lock/irq latencies. > > Flush the hvc console driver after each write, which can help > messages make it out to the console after a crash. > > Si

[PATCH 14/15] tty: hvc: introduce the hv_ops.flush operation for hvc drivers

2018-04-30 Thread Nicholas Piggin
Use .flush to wait for drivers to flush their console outside of the spinlock, to reduce lock/irq latencies. Flush the hvc console driver after each write, which can help messages make it out to the console after a crash. Signed-off-by: Nicholas Piggin --- drivers/tty/hvc/hvc_console.c | 35 +++