]> git.baikalelectronics.ru Git - kernel.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)
commit546ea31dc1171e83fa1c29f6bfcf7913c930de0e
tree90a6ba10f6f7cf03774732836ff723a3cb8f43e1
parentc87236d07e8e87fc46b7718ccb31889b58a7c8da
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