iommu/dma: Don't remap CMA unnecessarily
authorRobin Murphy <robin.murphy@arm.com>
Mon, 20 May 2019 07:29:38 +0000 (09:29 +0200)
committerJoerg Roedel <jroedel@suse.de>
Mon, 27 May 2019 15:31:11 +0000 (17:31 +0200)
commit8680aa5a58abfe6087a3d8248c02232d3e05dc80
treeed6ad2ecc0d2caad3dbda6d5410635a57658f7ac
parent072bebc0691737a6b44c648b4c59501a0cd25357
iommu/dma: Don't remap CMA unnecessarily

Always remapping CMA allocations was largely a bodge to keep the freeing
logic manageable when it was split between here and an arch wrapper. Now
that it's all together and streamlined, we can relax that limitation.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dma-iommu.c