Nathan Lynch 027f55e87c tty: hvc: udbg_hvc: retry putc on -EAGAIN
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.

Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210514214422.3019105-1-nathanl@linux.ibm.com
2021-05-23 20:51:36 +10:00
..
2021-04-09 17:00:32 +02:00
2021-03-10 09:34:06 +01:00
2020-06-27 16:21:20 +02:00
2021-04-15 10:32:17 +02:00
2021-04-15 10:32:17 +02:00
2021-03-10 09:34:06 +01:00
2021-03-10 09:34:06 +01:00
2021-04-15 10:22:17 +02:00
2021-04-15 10:22:17 +02:00
2021-04-15 10:22:17 +02:00
2021-04-15 10:22:17 +02:00
2021-04-15 10:22:17 +02:00
2021-04-15 10:32:17 +02:00