]> 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)
commit5c173bafdb1f629bf131a94dc5085b848c1b1f26
treeed6ad2ecc0d2caad3dbda6d5410635a57658f7ac
parent0f33c9aa58d0bad30850a03c2b2916c75ddfe80c
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