]> 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)
commit6a9d49f3c2819a282ec37e714076b5df59578c89
tree90a6ba10f6f7cf03774732836ff723a3cb8f43e1
parent43351a54bafd128a805e80d57a4f797a4b9869f1
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