]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Prepare for multiple DMA domain types
authorRobin Murphy <robin.murphy@arm.com>
Wed, 11 Aug 2021 12:21:33 +0000 (13:21 +0100)
committerJoerg Roedel <jroedel@suse.de>
Wed, 18 Aug 2021 11:27:49 +0000 (13:27 +0200)
commitf1408b23cd0c911acd88d522f165104e4a128193
treee1ad78f433addb8369c0dcd3bfb8136eb7a0c7e8
parent79315a75d2d2cc1274169e469aa94a15ce232c79
iommu/vt-d: Prepare for multiple DMA domain types

In preparation for the strict vs. non-strict decision for DMA domains
to be expressed in the domain type, make sure we expose our flush queue
awareness by accepting the new domain type, and test the specific
feature flag where we want to identify DMA domains in general. The DMA
ops reset/setup can simply be made unconditional, since iommu-dma
already knows only to touch DMA domains.

Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/31a8ef868d593a2f3826a6a120edee81815375a7.1628682049.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.c