OpenCloudOS-Kernel/arch/powerpc/platforms
Vaidyanathan Srinivasan 363edbe261 powerpc: Default arch idle could cede processor on pseries
When adding cpuidle support to pSeries, we introduced two
regressions:

  - The new cpuidle backend driver only works under hypervisors
    supporting the "SLPLAR" option, which isn't the case of the
    old POWER4 hypervisor and the HV "light" used on js2x blades

  - The cpuidle driver registers fairly late, meaning that for
    a significant portion of the boot process, we end up having
    all threads spinning. This slows down the boot process and
    increases the overall resource usage if the hypervisor has
    shared processors.

This fixes both by implementing a "default" idle that will cede
to the hypervisor when possible, in a very simple way without
all the bells and whisles of cpuidle.

Reported-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Acked-by: Deepthi Dharwar <deepthi@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: <stable@vger.kernel.org>
2013-09-11 11:41:54 +10:00
..
8xx powerpc/8xx: Erroneous double irq_eoi() on CPM IRQ in MPC8xx 2013-07-01 18:38:32 -05:00
40x Removal of GENERIC_GPIO for v3.10 2013-05-09 09:59:16 -07:00
44x i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
52xx powerpc: 52xx: provide a default in mpc52xx_irqhost_map() 2013-08-13 00:16:04 +02:00
82xx powerpc/82xx: fix checkpatch warnings for km82xx.c 2013-02-13 07:49:04 -06:00
83xx powerpc/83xx: use module_i2c_driver to simplify the code 2013-06-25 16:34:11 -05:00
85xx powerpc/85xx: Add C293PCIE board support 2013-08-23 19:43:24 -05:00
86xx powerpc: remove redundant GENERIC_GPIO selection 2013-03-20 22:48:15 +09:00
512x powerpc/mpc512x: add MPC5125 reset module support for system restart 2013-06-24 21:36:49 +02:00
amigaone pcspkr: Cleanup Kconfig dependencies 2011-06-09 15:01:41 +02:00
cell xfs: update for v3.12-rc1 2013-09-09 11:19:09 -07:00
chrp mv643xx_eth: convert to use the Marvell Orion MDIO driver 2013-03-22 10:25:15 -04:00
embedded6xx powerpc/pci: Support per-aperture memory offset 2013-05-06 13:40:40 +10:00
maple POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
pasemi cpufreq: powerpc: move cpufreq driver to drivers/cpufreq 2013-06-07 13:44:39 +02:00
powermac irqdomain refactoring for v3.11 2013-07-06 12:37:04 -07:00
powernv powerpc/powernv: Return secondary CPUs to firmware on kexec 2013-08-27 17:43:50 +10:00
ps3 PTR_RET is now PTR_ERR_OR_ZERO(): Replace most. 2013-07-15 11:25:01 +09:30
pseries powerpc: Default arch idle could cede processor on pseries 2013-09-11 11:41:54 +10:00
wsp powerpc: Convert platforms to smp_generic_cpu_bootable 2013-08-14 14:56:57 +10:00
Kconfig powerpc: Better split CONFIG_PPC_INDIRECT_PIO and CONFIG_PPC_INDIRECT_MMIO 2013-08-14 14:57:50 +10:00
Kconfig.cputype powerpc/booke64: Use appropriate -mcpu 2013-08-20 19:55:36 -05:00
Makefile powerpc: Remove the main legacy iSerie platform code 2012-03-09 10:35:11 +11:00
fsl_uli1575.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00