From: Greg KH <gregkh@suse.de>
To: Richard Zhao <linuxzsc@gmail.com>
Cc: linux-serial@vger.kernel.org
Subject: Re: uart ops tx_empty lock
Date: Sat, 12 Feb 2011 08:11:04 -0800 [thread overview]
Message-ID: <20110212161104.GA26545@suse.de> (raw)
In-Reply-To: <AANLkTimpEcfmJ5SF_YpG1mE0eBiARQ7L17Pd+ay_OQoV@mail.gmail.com>
On Sat, Feb 12, 2011 at 09:16:45PM +0800, Richard Zhao wrote:
> Hi Greg,
>
> Does uart_ops.tx_empty need to hold port->lock?
> I find some drivers hold the lock in tx_empty hook, for example 8250.
> But many more drivers don't hold it, for example imx.c, sh-sci.c.
I do not know, Alan would know best about this.
Alan?
thanks,
greg k-h
prev parent reply other threads:[~2011-02-12 16:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-12 13:16 uart ops tx_empty lock Richard Zhao
2011-02-12 16:11 ` Greg KH [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=20110212161104.GA26545@suse.de \
--to=gregkh@suse.de \
--cc=linux-serial@vger.kernel.org \
--cc=linuxzsc@gmail.com \
/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).