]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
MIPS: bmips: use generic dma noncoherent ops
authorChristoph Hellwig <hch@lst.de>
Fri, 15 Jun 2018 11:08:52 +0000 (13:08 +0200)
committerPaul Burton <paul.burton@mips.com>
Sun, 24 Jun 2018 16:27:27 +0000 (09:27 -0700)
commitd59098a0e9cb3c7767090e935c909b37a30629ab
treef2e441e3120de9eab00e1cd60b17baa68ba7b9d7
parentfaef87723ace12e5f685437c1e68cbecb69a7a89
MIPS: bmips: use generic dma noncoherent ops

Provide phys_to_dma/dma_to_phys helpers, and the special
arch_sync_dma_for_cpu_all hook, everything else is generic

Signed-off-by: Christoph Hellwig <hch@lst.de>
Patchwork: https://patchwork.linux-mips.org/patch/19550/
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
arch/mips/Kconfig
arch/mips/bmips/dma.c
arch/mips/include/asm/bmips.h
arch/mips/include/asm/mach-bmips/dma-coherence.h [deleted file]