Re: [mm PATCH v3 07/23] arch/hexagon: Add option to skip DMA sync as a part of mapping

From: Richard Kuo
Date: Thu Nov 10 2016 - 13:40:21 EST


On Thu, Nov 10, 2016 at 06:34:52AM -0500, Alexander Duyck 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
> later via a sync_for_cpu or sync_for_device call.
>
> Cc: Richard Kuo <rkuo@xxxxxxxxxxxxxx>
> Cc: linux-hexagon@xxxxxxxxxxxxxxx
> Signed-off-by: Alexander Duyck <alexander.h.duyck@xxxxxxxxx>
> ---
> arch/hexagon/kernel/dma.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>

For Hexagon:

Acked-by: Richard Kuo <rkuo@xxxxxxxxxxxxxx>



--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project