RE: Disable Caching for mmap() address

2009-11-12 Thread Jonathan Haws
> On Mon, 2009-11-09 at 16:21 -0700, Jonathan Haws wrote: > > All, > > > > I would like to disable caching for an address that was returned > from a call to mmap(). I am using this address for DMA operations > in user space and want to make sure that the data cache is turned > off for that buffer.

Re: Disable Caching for mmap() address

2009-11-12 Thread Benjamin Herrenschmidt
On Mon, 2009-11-09 at 16:21 -0700, Jonathan Haws wrote: > All, > > I would like to disable caching for an address that was returned from a call > to mmap(). I am using this address for DMA operations in user space and want > to make sure that the data cache is turned off for that buffer. > > T

Disable Caching for mmap() address

2009-11-09 Thread Jonathan Haws
All, I would like to disable caching for an address that was returned from a call to mmap(). I am using this address for DMA operations in user space and want to make sure that the data cache is turned off for that buffer. The way this works is the driver simply takes an address I provide and