]> git.baikalelectronics.ru Git - kernel.git/commit
arch/hexagon: Add option to skip DMA sync as a part of mapping
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 14 Dec 2016 23:04:46 +0000 (15:04 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 15 Dec 2016 00:04:07 +0000 (16:04 -0800)
commit3e5c54b39395d7acbaa37137926cdf9b338d0584
tree8da5660153e97d6f8094c89fceaafdbfb2c4d9a7
parent3d471764999b423656ececd7deaccdd567115892
arch/hexagon: Add option to skip DMA sync as a part of mapping

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
later via a sync_for_cpu or sync_for_device call.

Link: http://lkml.kernel.org/r/20161110113452.76501.45864.stgit@ahduyck-blue-test.jf.intel.com
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Cc: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/hexagon/kernel/dma.c