]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pmac: Fix issues with PowerMac "PowerSurge" SMP
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 18 Jun 2009 23:30:07 +0000 (23:30 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 26 Jun 2009 04:37:24 +0000 (14:37 +1000)
commit4117ea1acfa0d9cd8a662e69487829dc124e654e
treeff7d18085190fba2831b5dd83bb05a32b7ddd83d
parent093249c98f2a54704a1dd4c8ec56825e7fd740ad
powerpc/pmac: Fix issues with PowerMac "PowerSurge" SMP

The old PowerSurge SMP (ie, dual or quad 604 machines) code has
numerous issues in modern world.

One is cpu_possible_map is set too late (the device-tree is bogus)
so we fail to allocate the interrupt stacks and crash. Another
problem is the fact the timebase is frozen by the bringup of the
second CPU so the delays in the generic code will hang, we need
to move some of the calling procedure to inside the powermac code.

This makes it boot again for me

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/smp.c
arch/powerpc/platforms/powermac/setup.c
arch/powerpc/platforms/powermac/smp.c