Re: [PATCH 08/34] powerpc/dma: untangle vio_dma_mapping_ops from dma_iommu_ops

2018-12-06 Thread Christoph Hellwig
ping? On Wed, Nov 14, 2018 at 09:22:48AM +0100, Christoph Hellwig wrote: > vio_dma_mapping_ops currently does a lot of indirect calls through > dma_iommu_ops, which not only make the code harder to follow but are > also expensive in the post-spectre world. Unwind the indirect calls > by calling

[PATCH 08/34] powerpc/dma: untangle vio_dma_mapping_ops from dma_iommu_ops

2018-11-14 Thread Christoph Hellwig
vio_dma_mapping_ops currently does a lot of indirect calls through dma_iommu_ops, which not only make the code harder to follow but are also expensive in the post-spectre world. Unwind the indirect calls by calling the ppc_iommu_* or iommu_* APIs directly applicable, or just use the dma_iommu_*