diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2016-12-14 15:05:00 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-14 16:04:07 -0800 |
commit | abdf4799dac6210e3d09d368c4ed19e984c45dce (patch) | |
tree | 29b2dadb43b25abfcd52174315cf6179b64185c9 /arch/openrisc | |
parent | 9f318d470e37a470d65449f94a06165ea72dbce1 (diff) | |
download | blackbird-op-linux-abdf4799dac6210e3d09d368c4ed19e984c45dce.tar.gz blackbird-op-linux-abdf4799dac6210e3d09d368c4ed19e984c45dce.zip |
arch/nios2: add option to skip DMA sync as a part of map and unmap
This change allows us to pass DMA_ATTR_SKIP_CPU_SYNC which allows us to
avoid invoking cache line invalidation if the driver will just handle it
via a sync_for_cpu or sync_for_device call.
Link: http://lkml.kernel.org/r/20161110113518.76501.52225.stgit@ahduyck-blue-test.jf.intel.com
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Reviewed-by: Tobias Klauser <tklauser@distanz.ch>
Cc: Ley Foon Tan <lftan@altera.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/openrisc')
0 files changed, 0 insertions, 0 deletions