dma-mapping: merge direct and noncoherent ops
authorChristoph Hellwig <hch@lst.de>
Sat, 8 Sep 2018 09:22:43 +0000 (11:22 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 20 Sep 2018 07:01:15 +0000 (09:01 +0200)
commitbc3ec75de5452db59b683487867ba562b950708a
treead93be8bbaea3429f83fb0afd6b7597ec90a1e7b
parentf3ecc0ff0457eae93503792c6fc35921fa8a6204
dma-mapping: merge direct and noncoherent ops

All the cache maintainance is already stubbed out when not enabled,
but merging the two allows us to nicely handle the case where
cache maintainance is required for some devices, but not others.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Paul Burton <paul.burton@mips.com> # MIPS parts
29 files changed:
arch/arc/Kconfig
arch/arc/mm/dma.c
arch/arm/mm/dma-mapping-nommu.c
arch/c6x/Kconfig
arch/hexagon/Kconfig
arch/m68k/Kconfig
arch/microblaze/Kconfig
arch/mips/Kconfig
arch/mips/include/asm/dma-mapping.h
arch/mips/jazz/jazzdma.c
arch/mips/mm/dma-noncoherent.c
arch/nds32/Kconfig
arch/nios2/Kconfig
arch/openrisc/Kconfig
arch/parisc/Kconfig
arch/parisc/kernel/setup.c
arch/sh/Kconfig
arch/sparc/Kconfig
arch/sparc/include/asm/dma-mapping.h
arch/x86/kernel/amd_gart_64.c
arch/xtensa/Kconfig
include/asm-generic/dma-mapping.h
include/linux/dma-direct.h
include/linux/dma-mapping.h
include/linux/dma-noncoherent.h
kernel/dma/Kconfig
kernel/dma/Makefile
kernel/dma/direct.c
kernel/dma/noncoherent.c [deleted file]