Re: [PATCH v5 3/9] dma-mapping: add dma_{map,unmap}_resource
From: Christoph Hellwig
Date: Mon Mar 21 2016 - 11:26:09 EST
On Thu, Mar 17, 2016 at 01:33:51PM +0200, Laurent Pinchart wrote:
> The good news is that, given that no code uses this new API at the moment,
> there isn't much to audit. The patch series implements the resource mapping
> for arch/arm only, and makes use of it in the rcar-dmac driver only. Would you
> like anything audited else than the arch/arm dma mapping implementation, the
> rcar-dmac driver and the code that then deals with the dma addresses (I'm
> thinking about the IOMMU subsystem and the ipmmu-vmsa driver in particular) ?
Yes, it would be good to do an audit of all the ARM dma_ops as well
as generic code like drivers/base/dma-*.c, lib/dma-debug.c and
include/linux/dma-*.h