[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 4/5] hw/char/pl011: better handling of FIFO flags on LCR r
From: |
Peter Maydell |
Subject: |
Re: [PATCH v3 4/5] hw/char/pl011: better handling of FIFO flags on LCR reset |
Date: |
Fri, 20 Jan 2023 18:23:54 +0000 |
On Fri, 20 Jan 2023 at 15:54, Evgeny Iakovlev
<eiakovlev@linux.microsoft.com> wrote:
>
> Current FIFO handling code does not reset RXFE/RXFF flags when guest
> resets FIFO by writing to UARTLCR register, although internal FIFO state
> is reset to 0 read count. Actual guest-visible flag update will happen
> only on next data read or write attempt. As a result of that any guest
> that expects RXFE flag to be set (and RXFF to be cleared) after resetting
> FIFO will never see that happen.
>
> Signed-off-by: Evgeny Iakovlev <eiakovlev@linux.microsoft.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- Re: [PATCH v3 5/5] hw/char/pl011: check if UART is enabled before RX or TX operation, (continued)
- Re: [PATCH v3 5/5] hw/char/pl011: check if UART is enabled before RX or TX operation, Philippe Mathieu-Daudé, 2023/01/23
- Re: [PATCH v3 5/5] hw/char/pl011: check if UART is enabled before RX or TX operation, Evgeny Iakovlev, 2023/01/23
- Re: [PATCH v3 5/5] hw/char/pl011: check if UART is enabled before RX or TX operation, Philippe Mathieu-Daudé, 2023/01/23
- Re: [PATCH v3 5/5] hw/char/pl011: check if UART is enabled before RX or TX operation, Evgeny Iakovlev, 2023/01/23
- Re: [PATCH v3 5/5] hw/char/pl011: check if UART is enabled before RX or TX operation, Evgeny Iakovlev, 2023/01/23
- Re: [PATCH v3 5/5] hw/char/pl011: check if UART is enabled before RX or TX operation, Philippe Mathieu-Daudé, 2023/01/23
- Re: [PATCH v3 5/5] hw/char/pl011: check if UART is enabled before RX or TX operation, Peter Maydell, 2023/01/23
- Re: [PATCH v3 5/5] hw/char/pl011: check if UART is enabled before RX or TX operation, Philippe Mathieu-Daudé, 2023/01/23
- Re: [PATCH v3 5/5] hw/char/pl011: check if UART is enabled before RX or TX operation, Evgeny Iakovlev, 2023/01/25
[PATCH v3 4/5] hw/char/pl011: better handling of FIFO flags on LCR reset, Evgeny Iakovlev, 2023/01/20
- Re: [PATCH v3 4/5] hw/char/pl011: better handling of FIFO flags on LCR reset,
Peter Maydell <=