[PATCH v2 2/2] serial: msm_geni: validate RX FIFO data with IRQ status flags

Varadarajan Narayanan varadarajan.narayanan at oss.qualcomm.com
Wed Jul 8 06:39:40 CEST 2026


On Tue, Jul 07, 2026 at 03:22:43PM +0530, Balaji Selvanathan wrote:
> Add IRQ status validation to distinguish legitimate UART data from
> electrical noise in the RX FIFO.
>
> When the UART cable is disconnected, the floating RX line can pick up
> noise that the GENI hardware interprets as valid data and places in
> the FIFO. So, check the RX IRQ status register for RX watermark or last
> flags before reporting pending data.
>
> Signed-off-by: Balaji Selvanathan <balaji.selvanathan at oss.qualcomm.com>

Reviewed-by: Varadarajan Narayanan <varadarajan.narayanan at oss.qualcomm.com>



More information about the U-Boot mailing list