[PATCH] powerpc/85xx: Setup secondary cores PIR with hard SMP id
Kumar Gala
galak at kernel.crashing.org
Fri Nov 4 05:02:20 EST 2011
On Oct 14, 2011, at 2:52 AM, Kumar Gala wrote:
> Normally logical and hard cpu ID are the same, however in same cases like
> on the P3060 they may differ. Where the logical is 0..5, the hard id
> goes 0,1,4..7. This can causes issues for places we utilize PIR to index
> into array like in debug exception handlers for finding the exception
> stack.
>
> Move to setting up PIR with hard_smp_processor_id fixes the issue.
>
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
> arch/powerpc/platforms/85xx/smp.c | 9 +++++----
> 1 files changed, 5 insertions(+), 4 deletions(-)
applied
- k
More information about the Linuxppc-dev
mailing list