]> 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)
commit7c25d6ed7792f41ae8055cbb8b478d19c3c6f923
tree311df4c7cd39f78c3ef8d4e96b2ad1c8f62c11ad
parent5953edee36e933b90dc217caccc0fe28e811a139
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