Re: [PATCH v4 2/2] dma: add IOMMU static calls with clear default ops

From: Christoph Hellwig
Date: Tue Aug 20 2024 - 08:22:53 EST


On Mon, Aug 19, 2024 at 02:16:56PM +0100, Robin Murphy wrote:
> Thanks, I've just had a quick look over what you queued on
> dma-iommu-direct-calls, and you're welcome to stick my ack on that if you
> like.

Yes, thank you a lot for your review!

While I have your attention - with these two patches we stop building
dummy_dma_ops for most common configs. Do you think we need additional
safeguards for this case? My idea would be to remove them and force the
bus_dma_mask to zero where we currently set the dummy ops, but I could
use a little reality check for that idea.