diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2012-06-06 14:50:56 +0200 |
---|---|---|
committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2012-07-30 12:25:47 +0200 |
commit | 97ef952a20853fad72087a53fa556fbec45edd8f (patch) | |
tree | 5aa3a3422ead9dc4933a5cf57169dbe659ba0ce7 /arch/tile/lib/checksum.c | |
parent | bdf5e4871f1b41150236e2337837399109469e65 (diff) | |
download | blackbird-op-linux-97ef952a20853fad72087a53fa556fbec45edd8f.tar.gz blackbird-op-linux-97ef952a20853fad72087a53fa556fbec45edd8f.zip |
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/tile/lib/checksum.c')
0 files changed, 0 insertions, 0 deletions