]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.0-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jan 2013 18:30:31 +0000 (10:30 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jan 2013 18:30:31 +0000 (10:30 -0800)
added patches:
serial-8250-increase-pass_limit.patch

queue-3.0/serial-8250-increase-pass_limit.patch [new file with mode: 0644]
queue-3.0/series

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 (file)
index 0000000..62fee24
--- /dev/null
@@ -0,0 +1,37 @@
+From e7328ae1848966181a7ac47e8ae6cddbd2cf55f3 Mon Sep 17 00:00:00 2001
+From: Jiri Slaby <jirislaby@gmail.com>
+Date: Sun, 5 Jun 2011 22:51:49 +0200
+Subject: serial: 8250, increase PASS_LIMIT
+
+From: Jiri Slaby <jirislaby@gmail.com>
+
+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>
+Cc: Ram Gupta <ram.gupta5@gmail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+
+---
+ 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)
index 9abe924dcbea012b679fe580588c30740585ccd7..ef76a7275704b7d589e660f43392d2e8f9d001e8 100644 (file)
@@ -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