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

From: Chuah Kim Tatt
Date: Wed Jun 15 2016 - 01:45:55 EST


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.

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