From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] amba-pl011: simplify TX handling
Date: Wed, 18 Mar 2015 23:43:48 +0000 [thread overview]
Message-ID: <20150318234348.GF8656@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <20150318174157.GD3549@e103592.cambridge.arm.com>
On Wed, Mar 18, 2015 at 05:41:57PM +0000, Dave P Martin wrote:
> * uart_wait_until_sent()'s timeout calculations aim to wait for
> no longer than it takes the FIFO to drain. However, this function
> can get called when the serial_core xmit queue for the port is
> very non-empty -- meaning that the FIFO continues to be topped
> up for some time. This can cause more data to be lost.
The code used to wait for the xmit queue to empty (up to closing_wait)
before shutting the port down, which defaulted to 30 seconds. If the
xmit queue doesn't drain in 30 seconds, it probably never will.
--
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
next prev parent reply other threads:[~2015-03-18 23:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20150317163200.GE3759@e103592.cambridge.arm.com>
2015-03-17 23:42 ` [PATCH] amba-pl011: simplify TX handling Jakub Kiciński
2015-03-18 17:41 ` Dave P Martin
2015-03-18 20:26 ` Jakub Kiciński
2015-03-18 23:43 ` Russell King - ARM Linux [this message]
[not found] <1426547729-21255-1-git-send-email-moorray3@wp.pl>
[not found] ` <20150317135844.GA3759@e103592.cambridge.arm.com>
[not found] ` <20150317154248.1675cd4c@north>
2015-03-17 14:55 ` Andre Przywara
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=20150318234348.GF8656@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.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).