summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/stacktrace.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-05-03 11:06:55 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-05-22 16:33:14 +0100
commitdeace4a6b440f2e05f3e073338b28901d02a15c9 (patch)
treef6e739ac0a7f193042b1cadf10fbfd863717e593 /arch/arm/kernel/stacktrace.c
parent86f40622af7329375e38f282f6c0aab95f3e5f72 (diff)
downloadop-kernel-dev-deace4a6b440f2e05f3e073338b28901d02a15c9.zip
op-kernel-dev-deace4a6b440f2e05f3e073338b28901d02a15c9.tar.gz
ARM: dma-mapping: avoid calling dma_cache_maint_page() on dev=>cpu
Avoid calling dma_cache_maint_page() when unmapping a DMA_TO_DEVICE buffer. The L1 cache ops never do anything in this circumstance, nor do they ever need to - all that matters for this case is that the data written is visible to the device before DMA starts. What happens during the transfer (provided the buffer is not written to) is of no real consequence. We already do this optimisation for the L2 cache. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud