]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/iova: Consolidate flush queue code
authorRobin Murphy <robin.murphy@arm.com>
Fri, 17 Dec 2021 15:31:01 +0000 (15:31 +0000)
committerJoerg Roedel <jroedel@suse.de>
Mon, 20 Dec 2021 08:03:05 +0000 (09:03 +0100)
commit7137556770df2acb9790c055d92fbc010fe0f5c2
tree8f618ab07ff9f297918ae0066c2a5c74253b50f5
parente5eb1d5c566d18f618e0a0d35a2cd4489bd0964c
iommu/iova: Consolidate flush queue code

Squash and simplify some of the freeing code, and move the init
and free routines down into the rest of the flush queue code to
obviate the forward declarations.

Reviewed-by: John Garry <john.garry@huawei.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/b0dd4565e6646b6489599d7a1eaa362c75f53c95.1639753638.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iova.c