From: Greg Kroah-Hartman Date: Thu, 24 Jan 2013 18:30:31 +0000 (-0800) Subject: 3.0-stable patches X-Git-Tag: v3.0.61~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a69b26bae807fe9be7baa54f420dc66d02136958;p=thirdparty%2Fkernel%2Fstable-queue.git 3.0-stable patches added patches: serial-8250-increase-pass_limit.patch --- diff --git a/queue-3.0/serial-8250-increase-pass_limit.patch b/queue-3.0/serial-8250-increase-pass_limit.patch new file mode 100644 index 00000000000..62fee243235 --- /dev/null +++ b/queue-3.0/serial-8250-increase-pass_limit.patch @@ -0,0 +1,37 @@ +From e7328ae1848966181a7ac47e8ae6cddbd2cf55f3 Mon Sep 17 00:00:00 2001 +From: Jiri Slaby +Date: Sun, 5 Jun 2011 22:51:49 +0200 +Subject: serial: 8250, increase PASS_LIMIT + +From: Jiri Slaby + +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 +Cc: Alan Cox +Cc: Ram Gupta +Signed-off-by: Greg Kroah-Hartman + +--- + drivers/tty/serial/8250.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/tty/serial/8250.c ++++ b/drivers/tty/serial/8250.c +@@ -81,7 +81,7 @@ static unsigned int skip_txen_test; /* f + #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) + diff --git a/queue-3.0/series b/queue-3.0/series index 9abe924dcbe..ef76a727570 100644 --- a/queue-3.0/series +++ b/queue-3.0/series @@ -6,3 +6,4 @@ usb-musb-cppi_dma-drop-__init-annotation.patch scsi-sd-reshuffle-init_sd-to-avoid-crash.patch drivers-firmware-dmi_scan.c-check-dmi-version-when-get.patch drivers-firmware-dmi_scan.c-fetch-dmi-version-from-smbios-if-it-exists.patch +serial-8250-increase-pass_limit.patch