]> git.sur5r.net Git - u-boot/commit
ppc/85xx: Ensure that MAS8 is zero when writing TLB entries.
authorScott Wood <scottwood@freescale.com>
Thu, 20 Aug 2009 22:45:05 +0000 (17:45 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 16 Sep 2009 02:30:08 +0000 (21:30 -0500)
commitdcc87dd58db466caa2d66755c5ec9455edf42fe8
treea1d1174bd31fc211141eb7bc8e18354219f24686
parent1b72dbecca2d7ad7a21c92d80227daa2d8ec5a57
ppc/85xx: Ensure that MAS8 is zero when writing TLB entries.

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 <scottwood@freescale.com>
cpu/mpc85xx/start.S
cpu/mpc85xx/tlb.c
include/asm-ppc/processor.h