Re: Problem with memcpy on ppc8536

2009-06-19 Thread Lorenz Kolb
Could you please try the following patch, I am quite sure that checking for > 4 was accidentially done within io.c instead of >= 4 as if it's 4 we still can copy a 32-bit word. Some hardware might not be happy about 8-bit accesses... Index: 2.6.30-source/arch/powerpc/kernel/io.c ==

Re: Problem with memcpy on ppc8536

2009-06-19 Thread Albrecht Dreß
Am 19.06.09 19:06 schrieb(en) Lorenz Kolb: Could you please try the following patch, I am quite sure that checking for > 4 was accidentially done within io.c instead of >= 4 as if it's 4 we still can copy a 32-bit word. Some hardware might not be happy about 8-bit accesses... I submitted t

Re: Problem with memcpy on ppc8536

2009-06-19 Thread Wolfram Sang
On Fri, Jun 19, 2009 at 07:06:18PM +0200, Lorenz Kolb wrote: > Could you please try the following patch, I am quite sure that checking > for > 4 was accidentially done within io.c instead of >= 4 as if it's 4 > we still can copy a 32-bit word. Some hardware might not be happy about > 8-bit a

Re: Problem with memcpy on ppc8536

2009-06-19 Thread Lorenz Kolb
Could you please try the following patch, I am quite sure that checking for > 4 was accidentially done within io.c instead of >= 4 as if it's 4 we still can copy a 32-bit word. Some hardware might not be happy about 8-bit accesses... Index: 2.6.30-source/arch/powerpc/kernel/io.c ==

RE: Problem with memcpy on ppc8536

2009-06-18 Thread Liu Dave-R63238
I believe the question should be sent to u-b...@lists.denx.de, not linuxppc-dev list. What is the TLB settings for NAND FCM buffer? Pay attention to set the TLB as cache inhibited and guarded attribute. If not set the guarded bit, it is possible to cause the speculate load from FCM buffer below t