]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iommu/dma: Convert to address-based allocation
authorRobin Murphy <robin.murphy@arm.com>
Fri, 31 Mar 2017 14:46:05 +0000 (15:46 +0100)
committerJoerg Roedel <jroedel@suse.de>
Mon, 3 Apr 2017 10:45:02 +0000 (12:45 +0200)
commit842fe519f68b4d17ba53c66d69f22a72b1ad08cf
tree90a6ba10f6f7cf03774732836ff723a3cb8f43e1
parent273df9635385b2156851c7ee49f40658d7bcb29d
iommu/dma: Convert to address-based allocation

In preparation for some IOVA allocation improvements, clean up all the
explicit struct iova usage such that all our mapping, unmapping and
cleanup paths deal exclusively with addresses rather than implementation
details. In the process, a few of the things we're touching get renamed
for the sake of internal consistency.

Reviewed-by: Nate Watterson <nwatters@codeaurora.org>
Tested-by: Nate Watterson <nwatters@codeaurora.org>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dma-iommu.c