aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2011-06-05 16:51:49 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-07 12:44:36 -0400
commite7328ae1848966181a7ac47e8ae6cddbd2cf55f3 (patch)
tree8261430b83cce0fea0ae0a8ca8c626d66bd4be7e /drivers/tty
parent2807190b69f60ce4a04a9c7c523c9bce8cb62b2e (diff)
serial: 8250, increase PASS_LIMIT
With virtual machines like qemu, it's pretty common to see "too much work for irq4" messages nowadays. This happens when a bunch of output is printed on the emulated serial console. This is caused by too low PASS_LIMIT. When ISR loops more than the limit, it spits the message. I've been using a kernel with doubled the limit and I couldn't see no problems. Maybe it's time to get rid of the message now? Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/8250.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/8250.c b/drivers/tty/serial/8250.c
index b40f7b90c81..f11df87fa24 100644
--- a/drivers/tty/serial/8250.c
+++ b/drivers/tty/serial/8250.c
@@ -81,7 +81,7 @@ static unsigned int skip_txen_test; /* force skip of txen test at init time */
81#define DEBUG_INTR(fmt...) do { } while (0) 81#define DEBUG_INTR(fmt...) do { } while (0)
82#endif 82#endif
83 83
84#define PASS_LIMIT 256 84#define PASS_LIMIT 512
85 85
86#define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE) 86#define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
87 87