Re: [mm PATCH v3 17/23] arch/sparc: Add option to skip DMA sync as a part of map and unmap

From: David Miller
Date: Sun Nov 13 2016 - 12:28:33 EST


From: Alexander Duyck <alexander.h.duyck@xxxxxxxxx>
Date: Thu, 10 Nov 2016 06:35:45 -0500

> 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.
>
> Signed-off-by: Alexander Duyck <alexander.h.duyck@xxxxxxxxx>

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>