[PATCH] ARM: invalidate data caches during early init

Lucas Stach dev at lynxeye.de
Mon May 20 11:21:37 EDT 2013


Am Samstag, den 18.05.2013, 11:11 +0200 schrieb Sascha Hauer:
> On Fri, May 17, 2013 at 09:06:45PM +0200, Lucas Stach wrote:
> > Am Freitag, den 17.05.2013, 10:35 +0200 schrieb Sascha Hauer:
> > > Some SoCs come up with invalid entries in the data cache. This can
> > > lead to memory corruption when we enable them later, so invalidate
> > > the caches early.
> > > 
> > > Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> > > CC: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
> > 
> > Reviewed-by: Lucas Stach <l.stach at pengutronix.de>
> > Tested-by: Lucas Stach <l.stach at pengutronix.de>
> 
> Cool. Does that mean the MMU now works on Tegra?

Yep. I've tested both MMU and EARLY_MMU with this patch applied
(together with some of my WIP stuff) and it now works without any
problems.

Regards,
Lucas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5715 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20130520/bb96850e/attachment-0001.bin>


More information about the barebox mailing list