OpenCloudOS-Kernel/arch/powerpc/platforms/powernv
Paul Mackerras 375f561a41 powerpc/powernv: Always go into nap mode when CPU is offline
The CPU hotplug code for the powernv platform currently only puts
offline CPUs into nap mode if the powersave_nap variable is set.
However, HV-style KVM on this platform requires secondary CPU threads
to be offline and in nap mode.  Since we know nap mode works just
fine on all POWER7 machines, and the only machines that support the
powernv platform are POWER7 machines, this changes the code to
always put offline CPUs into nap mode, regardless of powersave_nap.
Powersave_nap still controls whether or not CPUs go into nap mode
when idle, as before.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-09-05 16:05:20 +10: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: Merge STK_REG/PARAM/FRAMESIZE 2012-07-10 19:18:03 +10:00
opal-wrappers.S powerpc: Change LOAD_REG_ADDR to use real register names 2012-07-10 19:18:14 +10:00
opal.c powerpc/powernv: Machine check and other system interrupts 2011-09-20 16:10:03 +10:00
pci-ioda.c PCI: replace struct pci_bus secondary/subordinate with busn_res 2012-06-13 15:42:22 -06:00
pci-p5ioc2.c powerpc/powernv: Display diag data on p7ioc EEH errors 2011-12-07 18:04:02 +11:00
pci.c Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci 2012-03-23 14:02:12 -07: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 arch/powerpc/platforms/powernv/setup.c: included asm/xics.h twice 2012-02-27 11:33:59 +11:00
smp.c powerpc/powernv: Always go into nap mode when CPU is offline 2012-09-05 16:05:20 +10:00