Skip to contentSkip to conversation

ppc/85xx: Don't enable interrupts before we're ready

PATCH New Kumar Gala 1 participant 1 message Sep 10, 2009

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 ppc/85xx: Don't enable interrupts before we're ready

From: Scott Wood <[email protected]>

We cannot handle any exceptions while running in AS1, as the exceptions will transition back to AS0 without a valid mapping.

---
 cpu/mpc85xx/start.S |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
cpu/mpc85xx/start.S +2 -2
index e21a4eb..eaed0e0 100644
@@ -278,8 +278,8 @@ _start_e500:
 	msync
 	tlbwe
 
-	lis	r6,MSR_CE|MSR_ME|MSR_DE|MSR_IS|MSR_DS at h
-	ori	r6,r6,MSR_CE|MSR_ME|MSR_DE|MSR_IS|MSR_DS at l
+	lis	r6,MSR_IS|MSR_DS at h
+	ori	r6,r6,MSR_IS|MSR_DS at l
 	lis	r7,switch_as at h
 	ori	r7,r7,switch_as at l
 
Signature · 1 line
1.6.0.6