kernel: update 4.1 to 4.1.5
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.1 / 003-Revert-MIPS-BCM63xx-Provide-a-plat_post_dma_flush-ho.patch
1 From 1b02e59087d3de3953d3fa0536356e3e137bf74b Mon Sep 17 00:00:00 2001
2 From: Florian Fainelli <f.fainelli@gmail.com>
3 Date: Tue, 28 Jul 2015 19:24:24 -0700
4 Subject: [PATCH] Revert "MIPS: BCM63xx: Provide a plat_post_dma_flush hook"
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 This reverts commit 3cf29543413207d3ab1c3f62a88c09bb46f2264e ("MIPS:
10 BCM63xx: Provide a plat_post_dma_flush hook") since this commit was
11 found to prevent BCM6358 (early BMIPS4350 cores) and some BCM6368
12 (BMIPS4380 cores) from booting reliably.
13
14 Alvaro was able to track this down to an issue specifically located to
15 devices that use the second thread (TP1) when booting. Since BCM63xx did
16 not have a need for plat_post_dma_flush() hook before, let's just keep
17 things the way they were.
18
19 CC: stable@vger.kernel.org
20 CC: Kevin Cernekee <cernekee@gmail.com>
21 CC: Nicolas Schichan <nschichan@freebox.fr>
22 Reported-by: Álvaro Fernández Rojas <noltari@gmail.com>
23 Reported-by: Jonas Gorski <jogo@openwrt.org>
24 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
25 Signed-off-by: Jonas Gorski <jogo@openwrt.org>
26 ---
27 arch/mips/include/asm/mach-bcm63xx/dma-coherence.h | 10 ----------
28 1 file changed, 10 deletions(-)
29 delete mode 100644 arch/mips/include/asm/mach-bcm63xx/dma-coherence.h
30
31 --- a/arch/mips/include/asm/mach-bcm63xx/dma-coherence.h
32 +++ /dev/null
33 @@ -1,10 +0,0 @@
34 -#ifndef __ASM_MACH_BCM63XX_DMA_COHERENCE_H
35 -#define __ASM_MACH_BCM63XX_DMA_COHERENCE_H
36 -
37 -#include <asm/bmips.h>
38 -
39 -#define plat_post_dma_flush bmips_post_dma_flush
40 -
41 -#include <asm/mach-generic/dma-coherence.h>
42 -
43 -#endif /* __ASM_MACH_BCM63XX_DMA_COHERENCE_H */