serial: 8250: 8250_omap: Work around errata causing spurious IRQs with DMA
authorVignesh Raghavendra <vigneshr@ti.com>
Thu, 19 Mar 2020 11:03:43 +0000 (16:33 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Mar 2020 11:25:11 +0000 (12:25 +0100)
commitc6689dfd877991f5415628c3ad04d4df9c1cf646
tree96d0bfda71fd7d914ae3d9facb4669f9d1db3464
parent7229b84c20d200853a827b4a807ad4954158cf12
serial: 8250: 8250_omap: Work around errata causing spurious IRQs with DMA

As per Advisory 27 of AM437x Silicon errata document, Spurious UART
interrupts may occur when DMA mode (FCR.DMA_MODE) is enabled. The
Interrupt Controller flags that a UART interrupt has occurred; however,
the associated IT_PENDING bit remains set to 1, indicating that no
interrupt is pending. Acknowledge the spurious interrupts for every
occurrence as workaround.

Errata is applicable to all TI SoCs with this IP.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20200319110344.21348-6-vigneshr@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_omap.c