Oliver Barta
135d9ba3b2
Revert "serial: 8250: Don't service RX FIFO if interrupts are disabled"
...
commit 3f2640ed7be838c3f05c0d2b0f7c7508e7431e48 upstream.
This reverts commit 2e9fe53910 .
Reading LSR unconditionally but processing the error flags only if
UART_IIR_RDI bit was set before in IIR may lead to a loss of transmission
error information on UARTs where the transmission error flags are cleared
by a read of LSR. Information are lost in case an error is detected right
before the read of LSR while processing e.g. an UART_IIR_THRI interrupt.
Signed-off-by: Oliver Barta <o.barta89@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Fixes: 2e9fe53910 ("serial: 8250: Don't service RX FIFO if interrupts are disabled")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-07-14 08:11:19 +02:00
..
hvc
tty: Don't force RISCV SBI console as preferred console
2019-05-22 07:37:43 +02:00
ipwireless
tty: ipwireless: fix missing checks for ioremap
2019-05-31 06:46:30 -07:00
serdev
serdev: add dev_pm_domain_attach|detach()
2018-07-15 12:23:53 +02:00
serial
Revert "serial: 8250: Don't service RX FIFO if interrupts are disabled"
2019-07-14 08:11:19 +02:00
vt
vt/fbcon: deinitialize resources in visual_init() after failed memory allocation
2019-06-09 09:17:21 +02:00
amiserial.c
tty: replace ->proc_fops with ->proc_show
2018-05-16 07:24:30 +02:00
cyclades.c
tty: replace ->proc_fops with ->proc_show
2018-05-16 07:24:30 +02:00
ehv_bytechan.c
treewide: kzalloc() -> kcalloc()
2018-06-12 16:19:22 -07:00
goldfish.c
headers: separate linux/mod_devicetable.h from linux/platform_device.h
2018-07-07 17:52:26 +02:00
isicom.c
treewide: kmalloc() -> kmalloc_array()
2018-06-12 16:19:22 -07:00
Kconfig
tty: ldisc: add sysctl to prevent autoloading of ldiscs
2019-04-17 08:38:47 +02:00
Makefile
tty: remove bfin_jtag_comm and hvc_bfin_jtag drivers
2018-03-26 15:57:24 +02:00
mips_ejtag_fdc.c
moxa.c
moxa.h
mxser.c
mxser.h
n_gsm.c
Merge 4.17-rc3 into tty-next
2018-04-30 05:14:55 -07:00
n_hdlc.c
tty/n_hdlc: fix __might_sleep warning
2019-01-31 08:14:36 +01:00
n_null.c
n_r3964.c
vfs: do bulk POLL* -> EPOLL* replacement
2018-02-11 14:34:03 -08:00
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c
tty: wipe buffer if not echoing data
2018-12-01 09:37:34 +01:00
nozomi.c
tty/nozomi: fix inconsistent indentation
2018-04-25 14:54:26 +02:00
pty.c
pty: fix O_CLOEXEC for TIOCGPTPEER
2018-07-21 09:08:47 +02:00
rocket.c
tty: rocket: fix incorrect forward declaration of 'rp_init()'
2019-07-10 09:53:44 +02:00
rocket.h
rocket_int.h
synclink.c
tty: replace ->proc_fops with ->proc_show
2018-05-16 07:24:30 +02:00
synclink_gt.c
tty: replace ->proc_fops with ->proc_show
2018-05-16 07:24:30 +02:00
synclinkmp.c
tty: replace ->proc_fops with ->proc_show
2018-05-16 07:24:30 +02:00
sysrq.c
signal: Pass pid type into do_send_sig_info
2018-07-21 12:57:35 -05:00
tty_audit.c
audit: eliminate audit_enabled magic number comparison
2018-06-19 10:43:55 -04:00
tty_baudrate.c
termios, tty/tty_baudrate.c: fix buffer overrun
2018-11-21 09:19:20 +01:00
tty_buffer.c
tty: increase the default flip buffer limit to 2*640K
2019-04-05 22:33:13 +02:00
tty_io.c
tty: ldisc: add sysctl to prevent autoloading of ldiscs
2019-04-17 08:38:47 +02:00
tty_ioctl.c
tty: add missing const to termios hw-change helper
2018-05-22 10:08:05 +02:00
tty_jobctrl.c
tty_ldisc.c
tty: ldisc: add sysctl to prevent autoloading of ldiscs
2019-04-17 08:38:47 +02:00
tty_ldsem.c
tty/ldsem: Wake up readers after timed out down_write()
2019-01-22 21:40:28 +01:00
tty_mutex.c
tty_port.c
tty: do not set TTY_IO_ERROR flag if console port
2018-12-13 09:16:22 +01:00
vcc.c