From: Jiri Slaby Date: Sun, 5 Jun 2011 20:51:49 +0000 (+0200) Subject: serial: 8250, increase PASS_LIMIT X-Git-Tag: v3.1-rc1~233^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7328ae1848966181a7ac47e8ae6cddbd2cf55f3;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Cc: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/8250.c b/drivers/tty/serial/8250.c index b40f7b9..f11df87 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 */ #define DEBUG_INTR(fmt...) do { } while (0) #endif -#define PASS_LIMIT 256 +#define PASS_LIMIT 512 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)