]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd361b344a6c9266b48cd04da615f66f0fdb9f2d9
treeed6ad2ecc0d2caad3dbda6d5410635a57658f7ac
parent4e0e364791bf71c0b276f1c0263168d63ef7fa99
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