]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
iommu/dma: Convert to address-based allocation
authorRobin Murphy <robin.murphy@arm.com>
Wed, 3 May 2017 20:32:00 +0000 (22:32 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 20 Jun 2017 08:50:55 +0000 (10:50 +0200)
commit5ff7191f680f105e4fdf0badd975a72958055ee7
treedb652669eb7317ad92ce3a8a7956ae56051fcbae
parent6c031fc1dca8df918bc37836308c782dab7331bb
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.

BugLink: http://bugs.launchpad.net/bugs/1680549
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>
(cherry picked from commit 842fe519f68b4d17ba53c66d69f22a72b1ad08cf)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/iommu/dma-iommu.c