iommu/amd: Prepare for multiple DMA domain types
authorRobin Murphy <robin.murphy@arm.com>
Wed, 11 Aug 2021 12:21:31 +0000 (13:21 +0100)
committerJoerg Roedel <jroedel@suse.de>
Wed, 18 Aug 2021 11:27:49 +0000 (13:27 +0200)
commit6d596039392bac2a0160fb71300d314943411e2a
tree878297d753cf3010120b402e407743dddbe64eb7
parentbf3aed4660c6e3c44c69f07d8927ee5a22a952ac
iommu/amd: Prepare for multiple DMA domain types

The DMA ops reset/setup can simply be unconditional, since
iommu-dma already knows only to touch DMA domains.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/6450b4f39a5a086d505297b4a53ff1e4a7a0fe7c.1628682049.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/iommu.c