powerpc/cell: move dma direct window setup out of dma_configure
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Feb 2019 07:01:08 +0000 (08:01 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Feb 2019 11:41:02 +0000 (22:41 +1100)
commitcc9c156db500bda1487e25b451f9ff4d8dbee2ad
tree34aa0a9a2ccc1dd1ed8eb00c4123a634b738fddc
parent9ae2fddeda4cbf6fcdf08e16a1fb5533d70462ab
powerpc/cell: move dma direct window setup out of dma_configure

Configure the dma settings at device setup time, and stop playing games
with get_pci_dma_ops.  This prepares for using the common dma_configure
code later on.

Includes fixes from Michael Ellerman.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/cell/iommu.c