]> Git Repo - linux.git/commit
ARM: add coherent dma ops
authorRob Herring <[email protected]>
Tue, 21 Aug 2012 10:20:17 +0000 (12:20 +0200)
committerMarek Szyprowski <[email protected]>
Tue, 2 Oct 2012 06:58:06 +0000 (08:58 +0200)
commitdd37e9405a8e85be49a60b2530efeb5f06bcb753
tree0480f0c6ed0941eeeba4f94190814e8c710504b6
parenta0d271cbfed1dd50278c6b06bead3d00ba0a88f9
ARM: add coherent dma ops

arch_is_coherent is problematic as it is a global symbol. This
doesn't work for multi-platform kernels or platforms which can support
per device coherent DMA.

This adds arm_coherent_dma_ops to be used for devices which connected
coherently (i.e. to the ACP port on Cortex-A9 or A15). The arm_dma_ops
are modified at boot when arch_is_coherent is true.

Signed-off-by: Rob Herring <[email protected]>
Cc: Russell King <[email protected]>
Cc: Marek Szyprowski <[email protected]>
Signed-off-by: Marek Szyprowski <[email protected]>
arch/arm/include/asm/dma-mapping.h
arch/arm/mm/dma-mapping.c
This page took 0.058483 seconds and 4 git commands to generate.