On Mon, 2018-04-09 at 15:40 +1000, Nicholas Piggin wrote:
> A new console flushing firmware API was introduced to replace event
> polling loops, and implemented in opal-kmsg with affddff69c55e
> ("powerpc/powernv: Add a kmsg_dumper that flushes console output on
> panic"), to flush the console in the panic path.
> The OPAL console driver has other situations where interrupts are off
> and it needs to flush the console synchronously. These still use a
> polling loop.
> So move the opal-kmsg flush code to opal_flush_console, and use the
> new function in opal-kmsg and opal_put_chars.
> Cc: Benjamin Herrenschmidt <b...@kernel.crashing.org>
> Cc: Russell Currey <rus...@russell.cc>
> Signed-off-by: Nicholas Piggin <npig...@gmail.com>

Reviewed-by: Russell Currey <rus...@russell.cc>

Reply via email to