Commit cd23adad authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt Committed by Linus Torvalds

[PATCH] ppc64: Fix booting on LPAR machines with more than 1 CPU

The exception rewrite contains a small bug that prevents bring up of CPUs
on logically partitioned machines.

The kernel is trying to zero the backlink on the new stack while running
with relocation disabled, which potentially cause it to try to access an
address outside of the region allowed in real mode.  This seem to be a
leftover from previous code as we also zero the backlink later after
turning off the MMU. 

This patch removes the offending bit.
parent 9b63dd17
......@@ -1834,8 +1834,6 @@ _GLOBAL(__secondary_start)
sldi r28,r24,3 /* get current_set[cpu#] */
ldx r1,r3,r28
addi r1,r1,THREAD_SIZE-STACK_FRAME_OVERHEAD
li r0,0
std r0,0(r1)
std r1,PACAKSAVE(r13)
ld r3,PACASTABREAL(r13) /* get raddr of segment table */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment