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

From: Tobias Klauser
Date: Fri Nov 11 2016 - 05:58:45 EST


On 2016-11-10 at 12:35:18 +0100, Alexander Duyck <alexander.h.duyck@xxxxxxxxx> 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
> via a sync_for_cpu or sync_for_device call.
>
> Cc: Ley Foon Tan <lftan@xxxxxxxxxx>
> Signed-off-by: Alexander Duyck <alexander.h.duyck@xxxxxxxxx>

Reviewed-by: Tobias Klauser <tklauser@xxxxxxxxxx>