serial: 8250, increase PASS_LIMIT
authorJiri Slaby <jirislaby@gmail.com>
Sun, 5 Jun 2011 20:51:49 +0000 (22:51 +0200)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 10 Feb 2014 21:11:14 +0000 (16:11 -0500)
commit197a5a154c73e0a8cdd5af21c25d0064db32af52
tree5e054a081274ededf3830871b45c4cb6f8cf547f
parentb27a97e2d64df2dcb74c00ae0068b0dd93f03555
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