Re: [U-Boot] [PATCH 3/3] post/lib_powerpc/multi.c: fix stack overflow error

2011-12-23 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message <20111223170640.18cfe56f@wker> you wrote: > > > The code and comment disagreed: the comment claimed that r6...r31 > > were copied, and consequently the arrays for "src" and "dst" were > > declared with 26 entries, but the actual code ("lmw r5,0(r3)" and > > "st

Re: [U-Boot] [PATCH 3/3] post/lib_powerpc/multi.c: fix stack overflow error

2011-12-23 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1324639752-26856-3-git-send-email...@denx.de> you wrote: > The code and comment disagreed: the comment claimed that r6...r31 > were copied, and consequently the arrays for "src" and "dst" were > declared with 26 entries, but the actual code ("lmw r5,0(r3)" and > "st

Re: [U-Boot] [PATCH 3/3] post/lib_powerpc/multi.c: fix stack overflow error

2011-12-23 Thread Anatolij Gustschin
Hello Wolfgang, On Fri, 23 Dec 2011 12:29:12 +0100 Wolfgang Denk wrote: > The code and comment disagreed: the comment claimed that r6...r31 > were copied, and consequently the arrays for "src" and "dst" were > declared with 26 entries, but the actual code ("lmw r5,0(r3)" and > "stmw r5,0(r4)") c

[U-Boot] [PATCH 3/3] post/lib_powerpc/multi.c: fix stack overflow error

2011-12-23 Thread Wolfgang Denk
The code and comment disagreed: the comment claimed that r6...r31 were copied, and consequently the arrays for "src" and "dst" were declared with 26 entries, but the actual code ("lmw r5,0(r3)" and "stmw r5,0(r4)") copied _27_ words (r5 through r31), which resulted in false "POST cpu Error at multi