]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] 85xx: Don't write reserved values to MAS1[TSIZE]
authorBecky Bruce <bgill@freescale.com>
Mon, 12 Feb 2007 23:43:46 +0000 (17:43 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 13 Feb 2007 03:32:38 +0000 (21:32 -0600)
commit8ce0a7df6e6117d8814e976d4b7ce6a6b2c9cf93
tree14fb1bec568491b3f1fbc37f2ef6df986617e9bc
parentedacf6bb7e7e1b75f2937966a50119439ff78ccb
[POWERPC] 85xx: Don't write reserved values to MAS1[TSIZE]

Some of the current tlbwe instructions early on in head_fsl_booke.S take
advantage of unarchitected behavior that allows the writing of reserved
values to the TSIZE field.  This patch corrects that, as well as an error
where an uninitialized (by linux) value was written into a MAS register and
used for a tlbwe.

Correct this for both arch/ppc and arch/powerpc.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/head_fsl_booke.S
arch/ppc/kernel/head_fsl_booke.S