Re: [PATCH] UIO: Allow a UIO driver to override the default pgprotwhen we mmap

From: Hans J. Koch
Date: Wed Oct 12 2011 - 12:21:12 EST


On Wed, Oct 12, 2011 at 11:08:20AM -0500, Kumar Gala wrote:
>
> On Oct 12, 2011, at 10:35 AM, Hans J. Koch wrote:
>
> > On Wed, Oct 12, 2011 at 09:43:36AM -0500, Kumar Gala wrote:
> >> For some devices the default behavior of pgprot_noncached is not
> >> the correct flags for the address space.
> >
> > For what devices? Can you give a real world usecase where this is needed?
> >
> > Thanks,
> > Hans
>
> In the Freescale Networking devices we have a coherent memory interface to our HW queuing system. In that case we want to change the pgprot() to be cache-able instead of non-cached.

Could you please post the kernel part of that driver?

Thanks,
Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/