Skip to content
Commit a250c23f authored by Robin Murphy's avatar Robin Murphy Committed by Joerg Roedel
Browse files

iommu: remove DOMAIN_ATTR_DMA_USE_FLUSH_QUEUE



Instead make the global iommu_dma_strict paramete in iommu.c canonical by
exporting helpers to get and set it and use those directly in the drivers.

This make sure that the iommu.strict parameter also works for the AMD and
Intel IOMMU drivers on x86.  As those default to lazy flushing a new
IOMMU_CMD_LINE_STRICT is used to turn the value into a tristate to
represent the default if not overriden by an explicit parameter.

[ported on top of the other iommu_attr changes and added a few small
 missing bits]

Signed-off-by: default avatarRobin Murphy <robin.murphy@arm.com&gt;.>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210401155256.298656-19-hch@lst.de
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 3189713a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment