iommu: Move flush queue data into iommu_dma_cookie
authorRobin Murphy <robin.murphy@arm.com>
Fri, 17 Dec 2021 15:31:03 +0000 (15:31 +0000)
committerJoerg Roedel <jroedel@suse.de>
Mon, 20 Dec 2021 08:03:05 +0000 (09:03 +0100)
commita17e3026bc4da9135ca9a42ec0b1fa67f95172e3
tree311df4c7cd39f78c3ef8d4e96b2ad1c8f62c11ad
parentf7f07484542fae833025da86eb4bd068f5253fe0
iommu: Move flush queue data into iommu_dma_cookie

Complete the move into iommu-dma by refactoring the flush queues
themselves to belong to the DMA cookie rather than the IOVA domain.

The refactoring may as well extend to some minor cosmetic aspects
too, to help us stay one step ahead of the style police.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/24304722005bc6f144e2a1fdd865d1465722fc2e.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