linux-kernel-test/arch/powerpc
Paul Mackerras cba313da5c powerpc/powernv: Fix problems in onlining CPUs
At present, on the powernv platform, if you off-line a CPU that was
online, and then try to on-line it again, the kernel generates a
warning message "OPAL Error -1 starting CPU n".  Furthermore, if the
CPU is a secondary thread that was used by KVM while it was off-line,
the CPU fails to come online.

The first problem is fixed by only calling OPAL to start the CPU the
first time it is on-lined, as indicated by the cpu_start field of its
PACA being zero.  The second problem is fixed by restoring the
cpu_start field to 1 instead of 0 when using the CPU within KVM.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-12-08 14:22:53 +11:00
..
boot powerpc: Add support for OpenBlockS 600 2011-12-08 14:22:52 +11:00
configs powerpc: Add support for OpenBlockS 600 2011-12-08 14:22:52 +11:00
include/asm powerpc: Punch a hole in /dev/mem for librtas 2011-12-08 14:22:52 +11:00
kernel powerpc/powernv: Fix problems in onlining CPUs 2011-12-08 14:22:53 +11:00
kvm Merge branch 'kvm-updates/3.2' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2011-11-20 14:57:43 -08:00
lib powerpc: Copy down exception vectors after feature fixups 2011-11-16 14:47:54 +11:00
math-emu powerpc/math_emu/efp: Look for errata handler when type mismatches 2011-10-06 23:36:47 -05:00
mm powerpc: Punch a hole in /dev/mem for librtas 2011-12-08 14:22:52 +11:00
net net: filter: BPF 'JIT' compiler for PPC64 2011-07-21 12:38:32 -07:00
oprofile powerpc/oprofile: Handle events that raise an exception without overflowing 2011-05-26 13:38:57 +10:00
platforms powerpc/powernv: Fix problems in onlining CPUs 2011-12-08 14:22:53 +11:00
sysdev powerpc/mpic: Add in-core support for cascaded MPICs 2011-12-07 13:43:09 +11:00
xmon powerpc/xmon: Fix #if typo for systems without MSR[RI] 2011-11-25 14:11:28 +11:00
Kconfig powerpc: Allow irq threading 2011-11-25 14:14:38 +11:00
Kconfig.debug powerpc: Implement CONFIG_STRICT_DEVMEM 2011-11-28 11:42:08 +11:00
Makefile powerpc: Add support for OpenBlockS 600 2011-12-08 14:22:52 +11:00
relocs_check.pl