AnsweredAssumed Answered

more of a Linux quesiton but mcp8548 related

Question asked by Jim Pantera on Sep 4, 2007
Latest reply on Sep 21, 2007 by Paolo Treffiletti
Reference: any generic linux in a PowerPC FreeScale8548 hardware DMA environment.  this is more of a Linux kernel programming issue but thought to post here.

Question:  what methods are available to move a kmalloc created 128K size buffer from kernel land to user land.  i am looking to effectively translate the kernel's start of buffer address to the user land.

the buffer is initially loaded or transmitted by DMA hardware in the kernel but needs to be make available to the user memory environment.

my impression is copy_from_user() will work on value and therefore this routine must copy the value of each word to the different memory systems using cpu cycles.