From: Roland Dreier <rdreier@cisco.com>
To: Arjan van de Ven <arjan@infradead.org>
Cc: Brice Goglin <brice@myri.com>,
LKML <linux-kernel@vger.kernel.org>,
netdev@vger.kernel.org,
"venkatesh.pallipadi\@intel.com" <venkatesh.pallipadi@intel.com>
Subject: Re: howto use ioremap_wc?
Date: Wed, 04 Jun 2008 21:53:54 -0700 [thread overview]
Message-ID: <adad4mw1nz1.fsf@cisco.com> (raw)
In-Reply-To: <20080531185424.1cd18220@infradead.org> (Arjan van de Ven's message of "Sat, 31 May 2008 18:54:24 -0700")
This thread reminds me of another question about interfaces for using
PAT. Are there any plans for making pgprot_writecombine() a generic
interface that portable drivers can use to map PCI memory into userspace
with WC turned on? (Falling back to uncached when WC is not available
for whatever reason is fine for the case I have in mind)
Maybe it's better to ask at a higher level: what's the right thing for a
driver to do in an mmap method when it wants to expose PCI memory to
userspace with WC turned on if possible? I see that the PCI sysfs code
on x86 does it using non-exported (hence not available to a driver
buildable as a module) interfaces.
Thanks,
Roland
prev parent reply other threads:[~2008-06-05 4:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-31 9:02 howto use ioremap_wc? Brice Goglin
2008-06-01 1:54 ` Arjan van de Ven
2008-06-02 16:27 ` Brice Goglin
2008-06-02 18:18 ` Loic Prylli
2008-06-03 2:18 ` Arjan van de Ven
2008-06-05 4:53 ` Roland Dreier [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=adad4mw1nz1.fsf@cisco.com \
--to=rdreier@cisco.com \
--cc=arjan@infradead.org \
--cc=brice@myri.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=venkatesh.pallipadi@intel.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).