arch/parisc: add option to skip DMA sync as a part of map and unmap
authorAlexander Duyck <[email protected]>
Wed, 14 Dec 2016 23:05:06 +0000 (15:05 -0800)
committerLinus Torvalds <[email protected]>
Thu, 15 Dec 2016 00:04:07 +0000 (16:04 -0800)
commitf50a2bd298b47e1957f67f794aed90f2c3bd9a10
tree606dc2c3fd59a7f52f15a77730bf52e595f1ee77
parent043b42bcbbc6bc87c457b156041d74d51f6cebc2
arch/parisc: 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/[email protected]
Signed-off-by: Alexander Duyck <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Cc: Helge Deller <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/parisc/kernel/pci-dma.c