Re: [PATCH v5 5/7] iommu/dma: Allow a single FQ in addition to per-CPU FQs

From: Jason Gunthorpe
Date: Mon Jan 30 2023 - 10:30:02 EST


On Mon, Jan 30, 2023 at 03:13:22PM +0000, Robin Murphy wrote:

> Either way, the more I think about this the more I'm starting to agree that
> adding more domain types for iommu-dma policy is a step in the wrong
> direction. If I may, I'd like to fall back on the "or at least some definite
> internal flag" part of my original suggestion :)

Yes please, lets try to remove IOMMU_DOMAIN_DMA, not add more :)

At this point we should probably just sort of hackily add a ops flag
to indicate single queue and when we fixup the policy logic we can
make it a user selectable policy as well.

Jason