Re: [PATCH v3] arm/mm/dma-mapping.c: Add arm_coherent_dma_mmap

2015-06-03 Thread Arnd Bergmann
On Wednesday 03 June 2015 09:52:09 Mike Looijmans wrote: > Ping! > > Just curious, any further feedback or comment after Arnd Bergmann's ack? > > It fixes a bug that took quite some time to discover and analyze, we should > save other people going through that same trouble. > Hi Mike, please

Re: [PATCH v3] arm/mm/dma-mapping.c: Add arm_coherent_dma_mmap

2015-06-03 Thread Mike Looijmans
Ping! Just curious, any further feedback or comment after Arnd Bergmann's ack? It fixes a bug that took quite some time to discover and analyze, we should save other people going through that same trouble. On 07-05-15 14:54, Mike Looijmans wrote: When dma-coherent transfers are enabled, the

Re: [PATCH v3] arm/mm/dma-mapping.c: Add arm_coherent_dma_mmap

2015-05-07 Thread Arnd Bergmann
On Thursday 07 May 2015 14:54:17 Mike Looijmans wrote: > When dma-coherent transfers are enabled, the mmap call must > not change the pg_prot flags in the vma struct. > > Split the arm_dma_mmap into a common and specific parts, > and add a "arm_coherent_dma_mmap" implementation that does > not alt

[PATCH v3] arm/mm/dma-mapping.c: Add arm_coherent_dma_mmap

2015-05-07 Thread Mike Looijmans
When dma-coherent transfers are enabled, the mmap call must not change the pg_prot flags in the vma struct. Split the arm_dma_mmap into a common and specific parts, and add a "arm_coherent_dma_mmap" implementation that does not alter the page protection flags. Tested on a topic-miami board (Zynq)