On Wed, Nov 13, 2019 at 08:03:12AM +0100, Christoph Hellwig wrote: > Indeed. And one idea would be to lift the code in the powerpc > dma_iommu_ops that check a flag and use the direct ops to the generic > dma code and a flag in struct device. We can then switch the intel > iommu ops (and AMD Gart) over to it.
Let me know what you think of the branch below. Only compile tested and booted on qemu with an emulated intel iommu: http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/dma-bypass _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu