From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ns.lynxeye.de ([87.118.118.114] helo=lynxeye.de) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UeRvI-00038m-M8 for barebox@lists.infradead.org; Mon, 20 May 2013 15:22:53 +0000 Message-ID: <1369063297.1918.2.camel@antimon> From: Lucas Stach Date: Mon, 20 May 2013 17:21:37 +0200 In-Reply-To: <20130518091137.GV32299@pengutronix.de> References: <1368779715-3143-1-git-send-email-s.hauer@pengutronix.de> <1368817605.2463.1.camel@antimon> <20130518091137.GV32299@pengutronix.de> Mime-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============7251732413545843110==" Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] ARM: invalidate data caches during early init To: Sascha Hauer Cc: barebox@lists.infradead.org, Enrico Scholz --===============7251732413545843110== Content-Type: multipart/signed; micalg="sha1"; protocol="application/x-pkcs7-signature"; boundary="=-6OdIoIpbXsZP7c6DV73G" --=-6OdIoIpbXsZP7c6DV73G Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. > > >=20 > > > Signed-off-by: Sascha Hauer > > > CC: Enrico Scholz > >=20 > > Reviewed-by: Lucas Stach > > Tested-by: Lucas Stach >=20 > 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 --=-6OdIoIpbXsZP7c6DV73G Content-Type: application/x-pkcs7-signature; name="smime.p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U8mAQvt4izqW3DHHnedeqojuF/kG7ZfsyZvSinGnyMZd6HBcUvHP83siYDpiGfSfEIcrdVoZbblc z08pnX/KTxuHurMAsISEB9lzvVTqwd1Qx0YtUYJwuMUKlDE/wtcyohk5XzbqV/upWn/gRjn9Gp// kzjvKu0pPuivrS8IWzwi6KOPVmv9LMSF1/opt7ow0UqGUX2Xt2GsJ6Ai5cLA1jTx4DIka/GDJJzd XgJLJWwYnu6JAAAAAAAA --=-6OdIoIpbXsZP7c6DV73G-- --===============7251732413545843110== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --===============7251732413545843110==--