aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-17 12:33:19 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-17 12:33:19 -0400
commit12de375ec493ab1767d4a07dde823e63ae5edc21 (patch)
tree23c255e761045b07a8d6fdc482053f8aa359444b /drivers/tty/serial
parent1e7da0530423a232747d64c2113ace55b01e5754 (diff)
Revert "serial: 8250, disable "too much work" messages"
This reverts commit f4f653e9875e573860e783fecbebde284a8626f5. Jiri writes: No, please drop this one. We need a better solution as it turned out that some boxes need 16k loops and it will increase with new processors :(. Cc: Jiri Slaby <jslaby@suse.cz> Cc: Martin Pluskal <mpluskal@suse.com> Cc: Takashi Iwai <tiwai@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/8250/8250_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c
index 139ab1997e06..81f909c2101f 100644
--- a/drivers/tty/serial/8250/8250_core.c
+++ b/drivers/tty/serial/8250/8250_core.c
@@ -1601,7 +1601,8 @@ static irqreturn_t serial8250_interrupt(int irq, void *dev_id)
1601 l = l->next; 1601 l = l->next;
1602 1602
1603 if (l == i->head && pass_counter++ > PASS_LIMIT) { 1603 if (l == i->head && pass_counter++ > PASS_LIMIT) {
1604 pr_debug_ratelimited( 1604 /* If we hit this, we're dead. */
1605 printk_ratelimited(KERN_ERR
1605 "serial8250: too much work for irq%d\n", irq); 1606 "serial8250: too much work for irq%d\n", irq);
1606 break; 1607 break;
1607 } 1608 }