diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2016-12-14 15:05:18 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-14 16:04:08 -0800 |
commit | 33c77e53d838dc27e9d2edec5b6ab6a11861fb32 (patch) | |
tree | c41c4e8c2d2c058ced9db32f5b71ba0b25dceab6 /lib/sg_pool.c | |
parent | 68bbc28f616c18b695a13e59adefb9a1fc0c46a0 (diff) | |
download | linux-33c77e53d838dc27e9d2edec5b6ab6a11861fb32.tar.gz linux-33c77e53d838dc27e9d2edec5b6ab6a11861fb32.tar.bz2 linux-33c77e53d838dc27e9d2edec5b6ab6a11861fb32.zip |
arch/tile: 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/20161110113550.76501.73060.stgit@ahduyck-blue-test.jf.intel.com
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Cc: Chris Metcalf <cmetcalf@mellanox.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/sg_pool.c')
0 files changed, 0 insertions, 0 deletions