[mm PATCH v2 08/26] arch/c6x: Add option to skip sync on DMA map and unmap

2016-11-02 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. Acked-by: Mark Salter Signed-off-by: Alexander Duyck

[mm PATCH v2 08/26] arch/c6x: Add option to skip sync on DMA map and unmap

2016-11-02 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. Acked-by: Mark Salter Signed-off-by: Alexander Duyck --- arch/c6x/kernel/dma.c | 14