Hi Ralf, Per your request, this is the patch set which supersedes everything I submitted before, build tested on mach-bmips and mach-bcm63xx and verified the diassembly to make sure the post-dma flush hook is inserted. Patches against mips-for-linux-next on top of: 8a5f1efbb1a13cd2e2a1c2d1ae3773821e8b1d67 ("MIPS: BMIPS: restrict DTB selection to BMIPS_GENERIC") Changes in v2: - move only plat_post_dma_flush, rename to bmips_plat_post_dma_flush - allow platforms to override only the plat_post_dma_flush from the generic implementation - create a minimalistic dma-coherence.h file for bcm63xx Florian Fainelli (3): MIPS: BMIPS: Move post DMA flush implementation to common header MIPS: DMA: Allow platforms to override only the post DMA hook MIPS: BCM63xx: Provide a plat_post_dma_flush hook arch/mips/include/asm/bmips.h | 16 ++++++++++++++++ arch/mips/include/asm/mach-bcm63xx/dma-coherence.h | 10 ++++++++++ arch/mips/include/asm/mach-bmips/dma-coherence.h | 16 +--------------- arch/mips/include/asm/mach-generic/dma-coherence.h | 2 ++ 4 files changed, 29 insertions(+), 15 deletions(-) create mode 100644 arch/mips/include/asm/mach-bcm63xx/dma-coherence.h -- 2.1.0