]> git.baikalelectronics.ru Git - kernel.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)
commit4575a0ae940aa35cdea70d3c1042ba49ad380682
tree14fb1bec568491b3f1fbc37f2ef6df986617e9bc
parent9a769c1ff67203953798ffa94455a45879188d09
[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