commit | 21b95aaf5f2212764d37b7569f3829a295e4042c | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon May 20 09:29:34 2019 +0200 |
committer | Joerg Roedel <jroedel@suse.de> | Mon May 27 17:31:11 2019 +0200 |
tree | 90d1afb49a994ee80d5e8077b494215d03fbf194 | |
parent | 4c360acee9298d048921bec3e21c4183d06cb43a [diff] |
iommu/dma: Refactor the page array remapping allocator Move the call to dma_common_pages_remap into __iommu_dma_alloc and rename it to iommu_dma_alloc_remap. This creates a self-contained helper for remapped pages allocation and mapping. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>