arch/m68k: add option to skip DMA sync as a part of mapping
authorAlexander Duyck <[email protected]>
Wed, 14 Dec 2016 23:04:49 +0000 (15:04 -0800)
committerLinus Torvalds <[email protected]>
Thu, 15 Dec 2016 00:04:07 +0000 (16:04 -0800)
commit5140d2344f1036dadffbb949a60af971b6dde0d3
treea333df84f739fff1c8593328b23196ec5b9bb06b
parentb8a346dd472af45e1ee8cbc77101dad0b836210b
arch/m68k: 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/[email protected]
Signed-off-by: Alexander Duyck <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/m68k/kernel/dma.c