[PATCHv4 3/5] common: dma-mapping: Introduce common remapping functions
Olof Johansson
olof at lixom.net
Wed Jul 9 15:46:56 PDT 2014
On Wed, Jul 2, 2014 at 11:03 AM, Laura Abbott <lauraa at codeaurora.org> wrote:
>
> For architectures without coherent DMA, memory for DMA may
> need to be remapped with coherent attributes. Factor out
> the the remapping code from arm and put it in a
> common location to reduced code duplication.
>
> Signed-off-by: Laura Abbott <lauraa at codeaurora.org>
Hm. The switch from ioremap to map_vm_area() here seems to imply that
lib/ioremap can/should be reworked to use just wrap the vmalloc
functions too?
Unrelated to this change.
I did a pass of review here. Nothing stands out as wrong but I don't
claim to know this area well these days.
What's the merge/ack plan here? It might reduce the complexity of
merging to add the common functions in your series, then move the ARM
code over separately?
-Olof
More information about the linux-arm-kernel
mailing list