Re: [PATCH v2 0/3] Fix DNV HSUART RX DMA timeout interrupt issue

From: Heikki Krogerus
Date: Thu Jun 16 2016 - 05:34:45 EST


On Wed, Jun 15, 2016 at 01:44:10PM +0800, Chuah Kim Tatt wrote:
> From: "Chuah, Kim Tatt" <kim.tatt.chuah@xxxxxxxxx>
>
> These patches fix a DNV HSUART DMA issue with timeout interrupts, where
> RX data is stuck in buffer when RX DMA is used and the number of received
> bytes is less than 4096.
> These patches have been tested on Intel Denverton platform.

For the series:

Reviewed-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>

> Changes from v1:
> - Added patch "serial: 8250_dma: Export serial8250_rx_dma_flush()" to solve
> build error when CONFIG_SERIAL_8250_MID is set to "m".
>
> Chuah, Kim Tatt (3):
> dmaengine: hsu: Export hsu_dma_get_status()
> serial: 8250_dma: Export serial8250_rx_dma_flush()
> serial: 8250_mid: Read RX buffer on RX DMA timeout for DNV
>
> drivers/dma/hsu/hsu.c | 90 +++++++++++++++++++++++++++++---------
> drivers/dma/hsu/pci.c | 11 ++++-
> drivers/tty/serial/8250/8250_dma.c | 1 +
> drivers/tty/serial/8250/8250_mid.c | 24 +++++++---
> include/linux/dma/hsu.h | 14 ++++--
> 5 files changed, 109 insertions(+), 31 deletions(-)
>
> --
> 1.9.1

Thanks,

--
heikki