ppc/85xx: Don't enable interrupts before we're ready
authorScott Wood <scottwood@freescale.com>
Thu, 20 Aug 2009 22:44:20 +0000 (17:44 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 16 Sep 2009 02:30:07 +0000 (21:30 -0500)
We cannot handle any exceptions while running in AS1, as the exceptions
will transition back to AS0 without a valid mapping.

Signed-off-by: Scott Wood <scottwood@freescale.com>
cpu/mpc85xx/start.S

index e21a4eb876765e26a5029b472258215858d28d8c..eaed0e0be5f5077a42abf804c54a28eb874f8310 100644 (file)
@@ -278,8 +278,8 @@ _start_e500:
        msync
        tlbwe
 
-       lis     r6,MSR_CE|MSR_ME|MSR_DE|MSR_IS|MSR_DS@h
-       ori     r6,r6,MSR_CE|MSR_ME|MSR_DE|MSR_IS|MSR_DS@l
+       lis     r6,MSR_IS|MSR_DS@h
+       ori     r6,r6,MSR_IS|MSR_DS@l
        lis     r7,switch_as@h
        ori     r7,r7,switch_as@l