Re: [PATCH] hw/char/exynos4210_uart: Fix buffer size reporting with FIFO disabled

2021-02-02 Thread Peter Maydell
On Thu, 28 Jan 2021 at 03:36, Iris Johnson wrote: > > Currently the Exynos 4210 UART code always reports available FIFO space > when the backend checks for buffer space. When the FIFO is disabled this > is behavior causes the backend chardev code to replace the data before the > guest can read it.

[PATCH] hw/char/exynos4210_uart: Fix buffer size reporting with FIFO disabled

2021-01-27 Thread Iris Johnson
Currently the Exynos 4210 UART code always reports available FIFO space when the backend checks for buffer space. When the FIFO is disabled this is behavior causes the backend chardev code to replace the data before the guest can read it. This patch changes adds the logic to report the capacity pr