Re: [mm PATCH v3 07/23] arch/hexagon: Add option to skip DMA sync as a part of mapping

2016-11-10 Thread Richard Kuo
On Thu, Nov 10, 2016 at 06:34:52AM -0500, Alexander Duyck wrote: > 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. > > Cc: Richard Kuo > Cc: linux

[mm PATCH v3 07/23] arch/hexagon: Add option to skip DMA sync as a part of mapping

2016-11-10 Thread Alexander Duyck
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. Cc: Richard Kuo Cc: linux-hexa...@vger.kernel.org Signed-off-by: Alexander Duyck --- arch/hexagon/ke