]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit771576cf89ac3298a4a2fca5517ce66dbed4d658
tree311df4c7cd39f78c3ef8d4e96b2ad1c8f62c11ad
parent5903caf2d88e3f98c3f0c3544cb9ac8c1d48e6a6
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