powerpc/dma: use the dma_direct mapping routines
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Feb 2019 07:01:29 +0000 (08:01 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Feb 2019 11:41:04 +0000 (22:41 +1100)
commit461db2bdbf3c978e76dd10a04a63fa06bb29114f
tree40cb4af74482f83549335f9d35f404bb1277b459
parent31f940afda6add7a7bb182adde97e615e5355c6d
powerpc/dma: use the dma_direct mapping routines

Switch the streaming DMA mapping and ownership transfer methods to the
functionally identical dma_direct_ versions.  Factor the cache
maintainance helpers into the form expected by the common code for that.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/dma-mapping.h
arch/powerpc/kernel/dma-iommu.c
arch/powerpc/kernel/dma.c
arch/powerpc/mm/dma-noncoherent.c
arch/powerpc/platforms/Kconfig.cputype