]> git.baikalelectronics.ru Git - kernel.git/commit
dma-mapping: move the dma_coherent flag to struct device
authorChristoph Hellwig <hch@lst.de>
Sun, 19 Aug 2018 12:53:20 +0000 (14:53 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 20 Sep 2018 07:01:15 +0000 (09:01 +0200)
commit68dadec35d5082d572a6de1b8a1a1d41b4b9d480
treecbaa1fbb29ea8d5b33fb8d1798e595147cb72729
parent8dacc293494aac4107fe0dc225d6c4653f91b834
dma-mapping: move the dma_coherent flag to struct device

Various architectures support both coherent and non-coherent dma on a
per-device basis.  Move the dma_noncoherent flag from the mips archdata
field to struct device proper to prepare the infrastructure for reuse on
other architectures.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Paul Burton <paul.burton@mips.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/Kconfig
arch/mips/include/asm/Kbuild
arch/mips/include/asm/device.h [deleted file]
arch/mips/include/asm/dma-coherence.h
arch/mips/include/asm/dma-mapping.h
arch/mips/mm/dma-noncoherent.c
include/linux/device.h
include/linux/dma-noncoherent.h
kernel/dma/Kconfig