From: Kumar Gala Date: Fri, 11 Sep 2009 14:53:19 -0500 Subject: [U-Boot] [PATCH] ppc/85xx: Ensure that MAS8 is zero when writing TLB entries. In-Reply-To: <1252610051-26430-1-git-send-email-galak@kernel.crashing.org> References: <1252610051-26430-1-git-send-email-galak@kernel.crashing.org> Message-ID: <88EC2008-9AAB-4A15-B692-23C449E4352F@kernel.crashing.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sep 10, 2009, at 2:14 PM, Kumar Gala wrote: > From: Scott Wood > > Its reset value is random, and we sometimes read uninitialized TLB > arrays. Make sure that we don't retain MAS8 from reading such an > entry > if the VF bit in MAS8 is set, attempts to use the mapping will trap. > > Signed-off-by: Scott Wood > --- > cpu/mpc85xx/start.S | 4 ++++ > cpu/mpc85xx/tlb.c | 3 +++ > include/asm-ppc/processor.h | 2 ++ > 3 files changed, 9 insertions(+), 0 deletions(-) applied to 85xx - k