-next fails to boot as of today on S3C6410

Nicolas Pitre nicolas.pitre at linaro.org
Thu Nov 24 13:22:35 EST 2011


On Thu, 24 Nov 2011, Mark Brown wrote:

> On Thu, Nov 24, 2011 at 12:59:38PM -0500, Nicolas Pitre wrote:
> 
> > No.  The s3c64xx code is wrong.  It relies on a freshly installed 
> > mapping that has not been flushed to RAM yet.  So when it works for you, 
> > That's due to pure luck, most probably because the page table is not 
> > cached when the mapping is created and the cache is not allocated on 
> > write.
> 
> Ah, right - I was assuming that the existing code was OK (given that
> it's been in use for years).  What should it be doing to trigger the
> flush?

Calling s3c_init_cpu(() elsewhere i.e. outside of the s3c64xx_init_io() 
call path, but after the later has been called, would be best.  Maybe 
from mdesc->init_early() ?


Nicolas



More information about the linux-arm-kernel mailing list