diff options
author | Vignesh Raghavendra <[email protected]> | 2021-06-22 20:27:04 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-06-24 14:51:33 +0200 |
commit | b67e830d38fa9335d927fe67e812e3ed81b4689c (patch) | |
tree | 70636675f05086b0915f541c0bfff9c03b10cb6c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 08b0adb1ae5456a7785ac3c8fdfdc351206f99c3 (diff) |
serial: 8250: 8250_omap: Fix possible interrupt storm on K3 SoCs
On K3 family of SoCs (which includes AM654 SoC), it is observed 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, this would lead to an interrupt storm.
Fix this by introducing UART_RX_TIMEOUT_QUIRK flag and doing a dummy
read in IRQ handler when RX TIMEOUT is reported with no data in RX FIFO.
Fixes: be70874498f3 ("serial: 8250_omap: Add support for AM654 UART controller")
Reported-by: Jan Kiszka <[email protected]>
Tested-by: Jan Kiszka <[email protected]>
Signed-off-by: Vignesh Raghavendra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions