Re: howto use ioremap_wc?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Arjan van de Ven <arjan@...>
Cc: Brice Goglin <brice@...>, LKML <linux-kernel@...>, <netdev@...>, venkatesh.pallipadi@intel.com <venkatesh.pallipadi@...>
Date: Thursday, June 5, 2008 - 12:53 am

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
howto use ioremap_wc?, Brice Goglin, (Sat May 31, 5:02 am)
Re: howto use ioremap_wc?, Arjan van de Ven, (Sat May 31, 9:54 pm)
Re: howto use ioremap_wc?, Roland Dreier, (Thu Jun 5, 12:53 am)
Re: howto use ioremap_wc?, Brice Goglin, (Mon Jun 2, 12:27 pm)
Re: howto use ioremap_wc?, Arjan van de Ven, (Mon Jun 2, 10:18 pm)
Re: howto use ioremap_wc?, Loic Prylli, (Mon Jun 2, 2:18 pm)