iommu/iova: Squash entry_dtor abstraction
authorRobin Murphy <robin.murphy@arm.com>
Fri, 17 Dec 2021 15:30:56 +0000 (15:30 +0000)
committerJoerg Roedel <jroedel@suse.de>
Mon, 20 Dec 2021 08:03:05 +0000 (09:03 +0100)
commitd5c383f2c98ac58c210b266cdaf7b86bc32d1ad1
treeab362c5ed43a1248ccbaa13a465ba74327400f24
parentd7061627d701c90e1cac1e1e60c45292f64f3470
iommu/iova: Squash entry_dtor abstraction

All flush queues are driven by iommu-dma now, so there is no need to
abstract entry_dtor or its data any more. Squash the now-canonical
implementation directly into the IOVA code to get it out of the way.

Reviewed-by: John Garry <john.garry@huawei.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/2260f8de00ab5e0f9d2a1cf8978e6ae7cd4f182c.1639753638.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dma-iommu.c
drivers/iommu/iova.c
include/linux/iova.h