[PATCH v4 1/2] iommu/dma: Implement dma_{map,unmap}_resource()

Joerg Roedel joro at 8bytes.org
Mon Nov 14 07:59:31 PST 2016


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 <joro at 8bytes.org>
> Signed-off-by: Robin Murphy <robin.murphy at arm.com>
> ---
> 
> 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.




More information about the linux-arm-kernel mailing list