dma-mapping, powerpc: simplify the arch dma_set_mask override
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Feb 2019 07:01:22 +0000 (08:01 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Feb 2019 11:41:03 +0000 (22:41 +1100)
commit11ddce15451eb5e3cb2c951dc5c8d86a2802017a
treee3e7a8541cbb2a52ba114da6c66ea8fd3ccbbd5b
parent9b18114c0be0193ebe772e45b3731602f056d54e
dma-mapping, powerpc: simplify the arch dma_set_mask override

Instead of letting the architecture supply all of dma_set_mask just
give it an additional hook selected by Kconfig.

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/Kconfig
arch/powerpc/include/asm/dma-mapping.h
arch/powerpc/include/asm/machdep.h
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/dma-mask.c [new file with mode: 0644]
arch/powerpc/kernel/dma.c
arch/powerpc/sysdev/fsl_pci.c
kernel/dma/Kconfig
kernel/dma/mapping.c