diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2012-06-06 16:50:56 +0400 |
---|---|---|
committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2012-07-30 14:25:47 +0400 |
commit | 97ef952a20853fad72087a53fa556fbec45edd8f (patch) | |
tree | 5aa3a3422ead9dc4933a5cf57169dbe659ba0ce7 /arch/powerpc/kernel | |
parent | bdf5e4871f1b41150236e2337837399109469e65 (diff) | |
download | linux-97ef952a20853fad72087a53fa556fbec45edd8f.tar.xz |
ARM: dma-mapping: add support for DMA_ATTR_SKIP_CPU_SYNC attribute
This patch adds support for DMA_ATTR_SKIP_CPU_SYNC attribute for
dma_(un)map_(single,page,sg) functions family. It lets dma mapping clients
to create a mapping for the buffer for the given device without performing
a CPU cache synchronization. CPU cache synchronization can be skipped for
the buffers which it is known that they are already in 'device' domain (CPU
caches have been already synchronized or there are only coherent mappings
for the buffer). For advanced users only, please use it with care.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions