summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-05-20 09:29:42 +0200
committerJoerg Roedel <jroedel@suse.de>2019-05-27 17:31:11 +0200
commitee1ef05d02b03118e4c197e1193329f5b64246b7 (patch)
tree61e34e68b7e7ff52086b99d458a10b55680e3137 /COPYING
parent9ad5d6eddcb0fa7c227c0612011221e715e8ef49 (diff)
downloadlinux-ee1ef05d02b03118e4c197e1193329f5b64246b7.tar.gz
linux-ee1ef05d02b03118e4c197e1193329f5b64246b7.tar.bz2
linux-ee1ef05d02b03118e4c197e1193329f5b64246b7.zip
iommu/dma: Refactor iommu_dma_alloc, part 2
All the logic in iommu_dma_alloc that deals with page allocation from the CMA or page allocators can be split into a self-contained helper, and we can than map the result of that or the atomic pool allocation with the iommu later. This also allows reusing __iommu_dma_free to tear down the allocations and MMU mappings when the IOMMU mapping fails. Based on a patch from Robin Murphy. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions