OpenCloudOS-Kernel/kernel/dma
Christoph Hellwig faef87723a
dma-noncoherent: add a arch_sync_dma_for_cpu_all hook
The MIPS bmips platform needs a global flush when transferring ownership
back to the CPU.  Add a hook for that to the dma-noncoherent
implementation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Patchwork: https://patchwork.linux-mips.org/patch/19549/
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: David Daney <david.daney@cavium.com>
Cc: Kevin Cernekee <cernekee@gmail.com>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: Tom Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Huacai Chen <chenhc@lemote.com>
Cc: iommu@lists.linux-foundation.org
Cc: linux-mips@linux-mips.org
2018-06-24 09:27:27 -07:00
..
Kconfig dma-mapping: move all DMA mapping code to kernel/dma 2018-06-14 08:50:37 +02:00
Makefile dma-mapping: move all DMA mapping code to kernel/dma 2018-06-14 08:50:37 +02:00
coherent.c dma-mapping: move all DMA mapping code to kernel/dma 2018-06-14 08:50:37 +02:00
contiguous.c dma-mapping: move all DMA mapping code to kernel/dma 2018-06-14 08:50:37 +02:00
debug.c dma-mapping: move all DMA mapping code to kernel/dma 2018-06-14 08:50:37 +02:00
direct.c dma-mapping: move all DMA mapping code to kernel/dma 2018-06-14 08:50:37 +02:00
mapping.c dma-mapping: move all DMA mapping code to kernel/dma 2018-06-14 08:50:37 +02:00
noncoherent.c dma-noncoherent: add a arch_sync_dma_for_cpu_all hook 2018-06-24 09:27:27 -07:00
swiotlb.c dma-mapping: move all DMA mapping code to kernel/dma 2018-06-14 08:50:37 +02:00
virt.c dma-mapping: move all DMA mapping code to kernel/dma 2018-06-14 08:50:37 +02:00