Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755785AbcKKK63 (ORCPT ); Fri, 11 Nov 2016 05:58:29 -0500 Received: from sym2.noone.org ([178.63.92.236]:48146 "EHLO sym2.noone.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752576AbcKKK60 (ORCPT ); Fri, 11 Nov 2016 05:58:26 -0500 Date: Fri, 11 Nov 2016 11:58:19 +0100 From: Tobias Klauser To: Alexander Duyck Cc: linux-mm@kvack.org, akpm@linux-foundation.org, Ley Foon Tan , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [mm PATCH v3 12/23] arch/nios2: Add option to skip DMA sync as a part of map and unmap Message-ID: <20161111105818.GB9338@distanz.ch> References: <20161110113027.76501.63030.stgit@ahduyck-blue-test.jf.intel.com> <20161110113518.76501.52225.stgit@ahduyck-blue-test.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161110113518.76501.52225.stgit@ahduyck-blue-test.jf.intel.com> X-Editor: Vi IMproved 7.3 User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 436 Lines: 9 On 2016-11-10 at 12:35:18 +0100, 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 > via a sync_for_cpu or sync_for_device call. > > Cc: Ley Foon Tan > Signed-off-by: Alexander Duyck Reviewed-by: Tobias Klauser