Re: DMA from user space buffer/VIPT cache flushing wows (was: Minutes: 21 Sept,09 RMK meeting)

Russell King
2009-11-11T19:29:52Z

On Tue, Nov 10, 2009 at 06:03:34PM +0200, Imre Deak wrote:
> Additionally as I said we would need a kernel interface for flushing
> user space buffers and mlock is not exposed to drivers. For that we
> would also need to add reference counting for mlock.

Oh, and let me re-iterate: the purpose of the patch I supplied to Texas
was to solve _their_ specific problem, which is to get the DSP bridge
driver working.

It is *not* a generic interface for kernel drivers to use. That's why
I ignored your comment about kernel interfaces for flusing userspace
buffers. It's just not relevant to the problem at hand.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/