linux_old1/arch/powerpc/platforms/powernv
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
..
Kconfig powerpc/powernv: Basic support for OPAL 2011-09-20 16:09:50 +10:00
Makefile powerpc/powernv: PCI support for p7IOC under OPAL v2 2011-11-25 14:53:15 +11:00
opal-nvram.c powerpc/powernv: Add RTC and NVRAM support plus RTAS fallbacks 2011-09-20 16:09:57 +10:00
opal-rtc.c powerpc/powernv: Add RTC and NVRAM support plus RTAS fallbacks 2011-09-20 16:09:57 +10:00
opal-takeover.S powerpc/powernv: Add OPAL takeover from PowerVM 2011-09-20 16:09:47 +10:00
opal-wrappers.S powerpc/powernv: Update OPAL interfaces 2011-12-07 18:02:02 +11:00
opal.c powerpc/powernv: Machine check and other system interrupts 2011-09-20 16:10:03 +10:00
pci-ioda.c powerpc/powernv: Display diag data on p7ioc EEH errors 2011-12-07 18:04:02 +11:00
pci-p5ioc2.c powerpc/powernv: Display diag data on p7ioc EEH errors 2011-12-07 18:04:02 +11:00
pci.c powerpc/powernv: Display diag data on p7ioc EEH errors 2011-12-07 18:04:02 +11:00
pci.h powerpc/powernv: Display diag data on p7ioc EEH errors 2011-12-07 18:04:02 +11:00
powernv.h powerpc/powernv: Add support for p5ioc2 PCI-X and PCIe 2011-09-20 16:10:04 +10:00
setup.c powerpc/powernv: Add support for p5ioc2 PCI-X and PCIe 2011-09-20 16:10:04 +10:00
smp.c powerpc/powernv: Fix problems in onlining CPUs 2011-12-08 14:22:53 +11:00