[PATCH v2] ARM: map_init_section flushes incorrect pmd

2013-05-30 Thread Po-Yu Chuang
This bug was introduced in commit e651eab0. Some v4/v5 platforms failed to boot due to this. Signed-off-by: Po-Yu Chuang --- v2: prefix underscores to map_init_section to emphasize that it should never be called by some random function. arch/arm/mm/mmu.c |8 +--- 1 file changed, 5

Re: [PATCH] ARM: map_init_section flushes incorrect pmd

2013-05-30 Thread Po-Yu Chuang
On Thu, May 30, 2013 at 5:12 PM, Will Deacon wrote: > On Thu, May 30, 2013 at 09:15:26AM +0100, Po-Yu Chuang wrote: >> On Wed, May 29, 2013 at 5:34 PM, Po-Yu Chuang >> wrote: >> > Hi Will, >> > >> > On Wed, May 29, 2013 at 4:54 PM, Will Deacon wrote

Re: [PATCH] ARM: map_init_section flushes incorrect pmd

2013-05-30 Thread Po-Yu Chuang
On Wed, May 29, 2013 at 5:34 PM, Po-Yu Chuang wrote: > Hi Will, > > On Wed, May 29, 2013 at 4:54 PM, Will Deacon wrote: >> On Wed, May 29, 2013 at 03:14:58AM +0100, Po-Yu Chuang wrote: >>> Will, >>> I guess nobody noticed this because the MMU of later v7

Re: [PATCH] ARM: map_init_section flushes incorrect pmd

2013-05-29 Thread Po-Yu Chuang
Hi Will, On Wed, May 29, 2013 at 4:54 PM, Will Deacon wrote: > On Wed, May 29, 2013 at 03:14:58AM +0100, Po-Yu Chuang wrote: >> Will, >> I guess nobody noticed this because the MMU of later v7 processors >> fetches page table >> from D-cache. It even doesn't need

Re: [PATCH] ARM: map_init_section flushes incorrect pmd

2013-05-28 Thread Po-Yu Chuang
On Wed, May 29, 2013 at 2:48 AM, Sricharan R wrote: > > On Tuesday 28 May 2013 07:37 PM, Will Deacon wrote: > > On Tue, May 28, 2013 at 03:03:36PM +0100, Sricharan R wrote: > >> On Tuesday 28 May 2013 06:35 PM, Will Deacon wrote: > >>> On Tue, May 28, 2013 at 11:

[PATCH] ARM: map_init_section flushes incorrect pmd

2013-05-28 Thread Po-Yu Chuang
This bug was introduced in commit e651eab0. Some v4/v5 platforms failed to boot due to this. Signed-off-by: Po-Yu Chuang --- arch/arm/mm/mmu.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index e0d8565..19a43f8 100644 --- a/arch