Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove low_latency flag setting from nozomi and mxser drivers

The kernel oopses if this flag is set.

[and neither driver should set it as they call tty_flip_buffer_push from IRQ
paths so have always been buggy]

Signed-off-by: Chuck Ebbert <cebbert@redhat.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Chuck Ebbert and committed by
Linus Torvalds
4d8d4d25 6af9a43d

-4
-2
drivers/char/mxser.c
··· 1048 1048 if (retval) 1049 1049 return retval; 1050 1050 1051 - /* unmark here for very high baud rate (ex. 921600 bps) used */ 1052 - tty->low_latency = 1; 1053 1051 return 0; 1054 1052 } 1055 1053
-2
drivers/char/nozomi.c
··· 1591 1591 1592 1592 /* Enable interrupt downlink for channel */ 1593 1593 if (port->port.count == 1) { 1594 - /* FIXME: is this needed now ? */ 1595 - tty->low_latency = 1; 1596 1594 tty->driver_data = port; 1597 1595 tty_port_tty_set(&port->port, tty); 1598 1596 DBG1("open: %d", port->token_dl);