Re: [PATCH v2] hw/char/cmsdk-apb-uart: Fix rx interrupt handling

2020-11-17 Thread Tadej Pecar
On 17. 11. 20 17:38, Peter Maydell wrote: > On Mon, 16 Nov 2020 at 19:58, Tadej Pečar wrote: >> >> Previously, the RX interrupt got missed if: >> - the character backend provided next character before >>the RX IRQ Handler managed to clear the currently served interrupt. >> - the character back

[PATCH] hw/char/cmsdk-apb-uart: Fix rx interrupt handling

2020-11-16 Thread Tadej Pecar
Previously, the RX interrupt got missed if: - the character backend provided the next character before the RX IRQ Handler managed to clear the currently served interrupt. - the character backend provided the next character while the RX interrupt was disabled. Enabling the interrupt did not trig