[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d970ff420906020624r6988e99aq2d3ddae26e0d6585@mail.gmail.com>
Date: Tue, 2 Jun 2009 10:24:15 -0300
From: Alemao <xcarandiru@...il.com>
To: linuxppc-dev@...abs.org, linux-kernel@...r.kernel.org
Subject: Re: MPC8343 - serial8250: too much work
Hi all,
In a normal situation, I have something like this:
serial8250_interrupt()
serial8250_handle_port()
transmit_chars()
pass_counter: 0
serial8250_handle_port()
pass_counter: 1
serial8250_handle_port()
pass_counter: 2
pass_counter: 3
But when the problem happends:
serial8250_interrupt(16)
serial8250_handle_port()
transmit_chars()
uart_circ_empty()
pass_counter: 0
.
.
.
serial8250_handle_port()
transmit_chars()
uart_circ_empty()
pass_counter: 257
serial8250: too much work for irq16
If the circ buffer is empty, why iterate 256 times?
How can I trace the application that is calling serial routines?
Its difficult to debug cause I use serial console to communicate with the board.
Thanks in advance,
--
Alemao
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists