diff options
| author | Christoph Hellwig <[email protected]> | 2019-02-13 07:01:04 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2019-02-18 11:41:02 +0000 |
| commit | a20f507f577b04f286c88a4885ac528e69f6f308 (patch) | |
| tree | 4c750d74da110cb1f397e67e272574eaeb7a810e /arch/powerpc/sysdev/dart_iommu.c | |
| parent | dma-direct: we might need GFP_DMA for 32-bit dma masks (diff) | |
| download | kernel-a20f507f577b04f286c88a4885ac528e69f6f308.tar.gz kernel-a20f507f577b04f286c88a4885ac528e69f6f308.zip | |
powerpc/dma: untangle vio_dma_mapping_ops from dma_iommu_ops
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_* methods directly where we can.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/sysdev/dart_iommu.c')
0 files changed, 0 insertions, 0 deletions
