| From 8dc35ea173a8519958daae7988a73b24512b9170 Mon Sep 17 00:00:00 2001 |
| From: Jiri Slaby <jirislaby@gmail.com> |
| Date: Sun, 5 Jun 2011 22:51:49 +0200 |
| Subject: [PATCH] serial: 8250, increase PASS_LIMIT |
| |
| commit e7328ae1848966181a7ac47e8ae6cddbd2cf55f3 upstream. |
| |
| 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> |
| [PG: drivers/tty/serial/8250.c ---> drivers/serial/8250.c in 2.6.34] |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| --- |
| drivers/serial/8250.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c |
| index c1d79a233476..848894773c64 100644 |
| --- a/drivers/serial/8250.c |
| +++ b/drivers/serial/8250.c |
| @@ -82,7 +82,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) |
| |
| -- |
| 1.8.5.2 |
| |