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

From: Chuah Kim Tatt
Date: Fri May 13 2016 - 04:16:10 EST


From: "Chuah, Kim Tatt" <kim.tatt.chuah@xxxxxxxxx>

These patches fix a DNV HSUART DMA issue with timeout interrupts which causes:
- RX to be padded with zeros up to 4kB when <4kB should be received
- RX to be truncated at 4kB when >4kB should be received.
These patches have been tested on Intel Denverton platform.


Chuah, Kim Tatt (2):
dmaengine: hsu: Export hsu_dma_get_status()
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_mid.c | 24 +++++++---
include/linux/dma/hsu.h | 14 ++++--
4 files changed, 108 insertions(+), 31 deletions(-)

--
1.9.1