From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Fri, 7 Sep 2012 14:50:08 -0500 Subject: [U-Boot] [PATCH] powerpc mpc85xx: Do not protect TLB entry for debuggging in AS1 against invalidation In-Reply-To: <6670B5959A1255459E98630A607295B473CC2B@hrsrv31.haslerrail.net> References: <6670B5959A1255459E98630A607295B473CC2B@hrsrv31.haslerrail.net> Message-ID: <504A4FF0.3010208@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/07/2012 07:50 AM, Joye Laurent wrote: > In case of booting from RAM (CONFIG_SYS_RAMBOOT), a TLB entry is created > for IVPR + IVOR15 to map on valid OP code address. > This TLB entry shall not be protected against invalidation, because > a new TLB entry to access RAM in AS0 will be created by > cpu_init_early_f. > If this TLB entry is protected against invalidation, this will creates > 2 TLB for the same address range (forbidden). Instead we should explicitly remove the debug TLB when it is no longer needed. -Scott