Skip to contentSkip to conversation

Patch "Revert "MIPS: BCM63xx: Provide a plat_post_dma_flush hook"" has been added to the 4.1-stable tree

PATCH [email protected] 1 participant 1 message Aug 10, 2015

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

Revert "MIPS: BCM63xx: Provide a plat_post_dma_flush hook"

to the 4.1-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
revert-mips-bcm63xx-provide-a-plat_post_dma_flush-hook.patch
and it can be found in the queue-4.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 247bfb65d731350093f5d1a0a8b3d65e49c17baa Mon Sep 17 00:00:00 2001

From: Florian Fainelli <[email protected]>
Date: Tue, 28 Jul 2015 19:24:24 -0700
Subject: Revert "MIPS: BCM63xx: Provide a plat_post_dma_flush hook"
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

From: Florian Fainelli <[email protected]>

commit 247bfb65d731350093f5d1a0a8b3d65e49c17baa upstream.

This reverts commit 3cf29543413207d3ab1c3f62a88c09bb46f2264e ("MIPS:
BCM63xx: Provide a plat_post_dma_flush hook") since this commit was found to prevent BCM6358 (early BMIPS4350 cores) and some BCM6368 (BMIPS4380 cores) from booting reliably.

Alvaro was able to track this down to an issue specifically located to devices that use the second thread (TP1) when booting. Since BCM63xx did not have a need for plat_post_dma_flush() hook before, let's just keep things the way they were.

Patchwork: https://patchwork.linux-mips.org/patch/10804/

---
 arch/mips/include/asm/mach-bcm63xx/dma-coherence.h |   10 ----------
 1 file changed, 10 deletions(-)
arch/mips/include/asm/mach-bcm63xx/dma-coherence.h deleted +0 -10
@@ -1,10 +0,0 @@
-#ifndef __ASM_MACH_BCM63XX_DMA_COHERENCE_H
-#define __ASM_MACH_BCM63XX_DMA_COHERENCE_H
-
-#include <asm/bmips.h>
-
-#define plat_post_dma_flush	bmips_post_dma_flush
-
-#include <asm/mach-generic/dma-coherence.h>
-
-#endif /* __ASM_MACH_BCM63XX_DMA_COHERENCE_H */

Patches currently in stable-queue which might be from [email protected] are

queue-4.1/revert-mips-bcm63xx-provide-a-plat_post_dma_flush-hook.patch