[PATCH] powerpc/udbg_hvc: retry putc on -EAGAIN
Michael Ellerman
patch-notifications at ellerman.id.au
Sun Jun 6 22:08:38 AEST 2021
On Fri, 14 May 2021 16:44:22 -0500, Nathan Lynch wrote:
> hvterm_raw_put_chars() calls hvc_put_chars(), which may return -EAGAIN
> when the underlying hcall returns a "busy" status, but udbg_hvc_putc()
> doesn't handle this. When using xmon on a PowerVM guest, this can
> result in incomplete or garbled output when printing relatively large
> amounts of data quickly, such as when dumping the kernel log buffer.
>
> Call again on -EAGAIN.
Applied to powerpc/next.
[1/1] powerpc/udbg_hvc: retry putc on -EAGAIN
https://git.kernel.org/powerpc/c/027f55e87c3094270a3223f7331d033fe15a2b3f
cheers
More information about the Linuxppc-dev
mailing list