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

2020-11-16 Thread Philippe Mathieu-Daudé
Hi Tadej, On 11/16/20 4:11 PM, Tadej Pecar wrote: > 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

[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