[U-Boot] [PATCH] ppc/85xx: Ensure that MAS8 is zero when writing TLB entries.

Kumar Gala galak at kernel.crashing.org
Fri Sep 11 21:53:19 CEST 2009


On Sep 10, 2009, at 2:14 PM, Kumar Gala wrote:

> From: Scott Wood <scottwood at freescale.com>
>
> 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 at freescale.com>
> ---
> 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


More information about the U-Boot mailing list