Re: [PATCH v1 2/2] dma: Add IOMMU static calls with clear default ops
From: Christoph Hellwig
Date: Wed Jul 17 2024 - 04:21:58 EST
dma_is_default_iommu still looks a bit odd to me - basically we have
the ops structure just to say to bypass it. Why not add a single-bit
dma_iommu field to struct device next to dma_ops_bypass to skip it?
Then IOMMU_DMA also does not need to select DMA_OPS any more, which
would be kinda silly with the direct calls.