Thread (5 messages) flat view 5 messages, 4 authors, 2021-06-06

Re: [PATCH] powerpc/udbg_hvc: retry putc on -EAGAIN

From: Michael Ellerman <hidden>
Date: 2021-06-06 12:13:05
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help