• Benjamin Herrenschmidt's avatar
    powerpc/pmac: Fix issues with PowerMac "PowerSurge" SMP · 7ccbe504
    Benjamin Herrenschmidt authored
    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: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    7ccbe504
smp.c 13.1 KB