Hi Marek,
I have tested these patch series for origen board, and they mmap the buffers to user-space for the coherent pool. You can add:
Tested-By: Subash Patel subashrp@gmail.com
Regards, Subash
On 03/23/2012 05:56 PM, Marek Szyprowski wrote:
Hello,
This patchset contains patches to fix broken mmap operation for memory buffers allocated from 'dma_declare_coherent' pool after applying my dma mapping redesign patches [1]. These issues have been reported by Subash Patel.
[1] http://thread.gmane.org/gmane.linux.kernel.cross-arch/12819
Patch summary:
Marek Szyprowski (2): common: add dma_mmap_from_coherent() function arm: dma-mapping: use dma_mmap_from_coherent()
arch/arm/mm/dma-mapping.c | 3 ++ drivers/base/dma-coherent.c | 42 ++++++++++++++++++++++++++++++++++++ include/asm-generic/dma-coherent.h | 4 ++- 3 files changed, 48 insertions(+), 1 deletions(-)