]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
serial: 8250: 8250_omap: Fix possible interrupt storm
authorVignesh Raghavendra <vigneshr@ti.com>
Tue, 11 May 2021 15:19:55 +0000 (20:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 May 2021 15:16:55 +0000 (17:16 +0200)
commit31fae7c8b18c3f8029a2a5dce97a3182c1a167a0
treebc4e8a7216e6de1eedde30285a382ac025ca2ccc
parent1f06f5713f5278b7768031150ceb43d1127b9ad6
serial: 8250: 8250_omap: Fix possible interrupt storm

It is possible that RX TIMEOUT is signalled after RX FIFO has been
drained, in which case a dummy read of RX FIFO is required to clear RX
TIMEOUT condition. Otherwise, RX TIMEOUT condition is not cleared
leading to an interrupt storm

Cc: stable@vger.kernel.org
Reported-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20210511151955.28071-1-vigneshr@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_omap.c