]> 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)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 3 Oct 2009 14:04:27 +0000 (09:04 -0500)
commiteea886da9a7f4fc2cb27952ce460e9daae98d2d0
tree6947584c6a2054d3a841b25e9cd11823430968cb
parent3477bda1f5944a7e97918917c63d56dc144e1a51
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