Home
last modified time | relevance | path

Searched hist:ad0693ee722b93b63a89c845e99513f242e43aa6 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/kernel/
H A Dhead_64.Sdiff ad0693ee722b93b63a89c845e99513f242e43aa6 Mon Jan 31 19:13:09 CST 2011 Benjamin Herrenschmidt <benh@kernel.crashing.org> powerpc: Call CPU ->restore callback earlier on secondary CPUs

We do it before we loop on the PACA start flag. This way, we get a
chance to set critical SPRs on all CPUs before Linux tries to start
them up, which avoids problems when changing some bits such as LPCR
bits that need to be identical on all threads of a core or similar
things like that. Ideally, some of that should also be done before
the MMU is enabled, but that's a separate issue which would require
moving some of the SMP startup code earlier, let's not get there
for now, it works with that change alone.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>