From: Alemao <xcarandiru@gmail.com>
To: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: MPC8343 - serial8250: too much work
Date: Tue, 2 Jun 2009 10:24:15 -0300 [thread overview]
Message-ID: <d970ff420906020624r6988e99aq2d3ddae26e0d6585@mail.gmail.com> (raw)
In-Reply-To: <1243817268.4375.28.camel@concordia>
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
prev parent reply other threads:[~2009-06-02 13:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-29 20:07 MPC8343 - serial8250: too much work Alemao
2009-06-01 0:47 ` Michael Ellerman
2009-06-02 13:24 ` Alemao [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d970ff420906020624r6988e99aq2d3ddae26e0d6585@mail.gmail.com \
--to=xcarandiru@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).