From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH v4 1/2] iommu/dma: Implement dma_{map,unmap}_resource() Date: Mon, 14 Nov 2016 16:59:31 +0100 Message-ID: <20161114155931.GA14829@8bytes.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Robin Murphy Cc: catalin.marinas-5wv7dgnIgG8@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, will.deacon-5wv7dgnIgG8@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Mon, Nov 14, 2016 at 12:16:26PM +0000, Robin Murphy wrote: > With the new dma_{map,unmap}_resource() functions added to the DMA API > for the benefit of cases like slave DMA, add suitable implementations to > the arsenal of our generic layer. Since cache maintenance should not be > a concern, these can both be standalone callback implementations without > the need for arch code wrappers. > > CC: Joerg Roedel > Signed-off-by: Robin Murphy > --- > > v4: Add the missed static qualifier (thanks Catalin) > > drivers/iommu/dma-iommu.c | 24 +++++++++++++++++++++--- > include/linux/dma-iommu.h | 4 ++++ > 2 files changed, 25 insertions(+), 3 deletions(-) Applied both, thanks Robin.