summaryrefslogtreecommitdiff
path: root/include/linux/rtc
diff options
context:
space:
mode:
authorTaniya Das <tdas@codeaurora.org>2014-06-12 19:42:06 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:14:09 -0700
commitb0dc751515fcc7b9267b7e688a2d931f37923609 (patch)
treea6b2612fe98fb2c2550d22d0b6373d6ed225e21f /include/linux/rtc
parent0bf6f5ab1502115fcc3353ad1892c1c0cf148dd9 (diff)
arm: Skip DMA zeroing completely only if specified
With the dma attribute 'SKIP_ZEROING', dma allocation skips memset and also cache flush operations. This leaves dirty lines in the caches which when evicted later would cause issue to the allocated buffer. For some clients this may be okay but other clients need to do the actual sync. Switch the code to only skip __dma_clear_buffer if both DMA_ATTR_SKIP_ZEROING and DMA_ATTR_SKIP_CPU_SYNC are specified. If only DMA_ATTR_SKIP_ZEROING is specified, just skip the zeroing but still do the cache operations. Change-Id: I81dd6bbeed7ec7f1dce28cd8d0aba7c8900ec550 Signed-off-by: Taniya Das <tdas@codeaurora.org> Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Diffstat (limited to 'include/linux/rtc')
0 files changed, 0 insertions, 0 deletions