Re: [PATCH] imx_serial: set wake bit when we receive a data byte

2023-06-15 Thread Martin Kaiser
Hi Philippe, thanks for reviewing my patch. Philippe Mathieu-Daudé (phi...@linaro.org) wrote: > Shouldn't we mask this bit for interruptions now? yes, we should support interrupts from the wake bit. I'll add your snippet and send a v2. Thanks, Martin > -- >8 -- > diff --git a/include/hw/char/

Re: [PATCH] imx_serial: set wake bit when we receive a data byte

2023-06-12 Thread Philippe Mathieu-Daudé
Hi Martin, On 8/6/23 17:41, Martin Kaiser wrote: The linux kernel added a flood check for rx data recently in commmit 496a4471b7c3 ("serial: imx: work-around for hardware RX flood"). This check uses the wake bit in the uart status register 2. The wake bit indicates that the receiver detected a s

[PATCH] imx_serial: set wake bit when we receive a data byte

2023-06-08 Thread Martin Kaiser
The linux kernel added a flood check for rx data recently in commmit 496a4471b7c3 ("serial: imx: work-around for hardware RX flood"). This check uses the wake bit in the uart status register 2. The wake bit indicates that the receiver detected a start bit. If the kernel sees a number of rx interrup