qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Peter Maydell
Subject: Re: [PATCH] hw/char/exynos4210_uart: Fix buffer size reporting with FIFO disabled
Date: Tue, 2 Feb 2021 11:07:54 +0000

On Thu, 28 Jan 2021 at 03:36, Iris Johnson <iris@modwiz.com> 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.
>
> This patch changes adds the logic to report the capacity properly when the
> FIFO is not being used.
>
> Buglink: https://bugs.launchpad.net/qemu/+bug/1913344
> Signed-off-by: Iris Johnson <iris@modwiz.com>
> ---
>  hw/char/exynos4210_uart.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)



Applied to target-arm.next, thanks.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]