serial: serial-tegra: reduce irq-latency after rx errors
authorRandolph Maaßen <gaireg@gaireg.de>
Fri, 5 Jun 2020 14:57:14 +0000 (16:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Jun 2020 14:12:45 +0000 (16:12 +0200)
commitf1681a9a2a62d7e6232832d6780cc65ce63f5396
tree0a1dd35a6f5c24da0eea2acf1132be898cce3b0f
parent894b867ac9dc6906022c27ace2339418db666002
serial: serial-tegra: reduce irq-latency after rx errors

Since dev_err() calls can lead to synchronous writes to another serial
console these calls can provide significant latency during irq-handling
in tegra_uart_isr(). With this latency another interrupt is likely to
apper during handling of the first interrupt, which might lock up the
kernel completely.

These errors are reported to the error counters so converting the
dev_err() to dev_dbg() is appropriate.

Signed-off-by: Randolph Maaßen <gaireg@gaireg.de>
Link: https://lore.kernel.org/r/20200605145714.9964-1-gaireg@gaireg.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial-tegra.c