Re: [PATCH 1/2] serial: 8250: Don't service RX FIFO if interrupts are disabled

2018-02-08 Thread Vignesh R
On 08-Feb-18 8:46 PM, Andy Shevchenko wrote: > On Thu, Feb 8, 2018 at 2:55 PM, Vignesh R wrote: >> Currently, data in RX FIFO is read based on UART_LSR register state even >> if RDI and RLSI interrupts are disabled in UART_IER register. >> This is because when IRQ handler is called due to TX FIF

Re: [PATCH 1/2] serial: 8250: Don't service RX FIFO if interrupts are disabled

2018-02-08 Thread Andy Shevchenko
On Thu, Feb 8, 2018 at 2:55 PM, Vignesh R wrote: > Currently, data in RX FIFO is read based on UART_LSR register state even > if RDI and RLSI interrupts are disabled in UART_IER register. > This is because when IRQ handler is called due to TX FIFO empty event, > RX FIFO is serviced based on UART_L

[PATCH 1/2] serial: 8250: Don't service RX FIFO if interrupts are disabled

2018-02-08 Thread Vignesh R
Currently, data in RX FIFO is read based on UART_LSR register state even if RDI and RLSI interrupts are disabled in UART_IER register. This is because when IRQ handler is called due to TX FIFO empty event, RX FIFO is serviced based on UART_LSR register status instead of UART_IIR status. This defeat