]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/power8: Fix secondary CPUs hanging on boot for HV=0
authorMichael Neuling <mikey@neuling.org>
Wed, 24 Apr 2013 21:00:37 +0000 (21:00 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 26 Apr 2013 06:08:17 +0000 (16:08 +1000)
commit46b39df1e03f88a945cde1a9acbd2dac73281de3
tree65fc9f395647f12b206462c085c486886eb3f77c
parent00d5ae4980cbecac0e6c26d546f0e3bc27d1a184
powerpc/power8: Fix secondary CPUs hanging on boot for HV=0

In __restore_cpu_power8 we determine if we are HV and if not, we return
before setting HV only resources.

Unfortunately we forgot to restore the link register from r11 before
returning.

This will happen on boot and with secondary CPUs not coming online.

This adds the missing link register restore.

Signed-off-by: Michael Neuling <mikey@neuling.org>
CC: <stable@vger.kernel.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/cpu_setup_power.S