pls help-problem with mmap DMA buffer

reshi nuwa resnuw at
Thu Feb 10 18:15:43 EST 2011

Hi ,

I get the same problem as in

posted by Jonathan.

One solution suggested is using get_user_pages(), which give a pointer of
user space buffer to the kernel module to DMA( as I got it)
But the code in teh above link tries to get the kernel buffer pointer in to
the user space. What I want to know is what's wrong/what modifications
should be done to the above code to achieve this? Is this a bad aproach to
access the DMA buffer in user space?

Thanx in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Linuxppc-dev mailing list