linux/arch/arm/mach-kirkwood
Deepthi Dharwar 46bcfad7a8 cpuidle: Single/Global registration of idle states
This patch makes the cpuidle_states structure global (single copy)
instead of per-cpu. The statistics needed on per-cpu basis
by the governor are kept per-cpu. This simplifies the cpuidle
subsystem as state registration is done by single cpu only.
Having single copy of cpuidle_states saves memory. Rare case
of asymmetric C-states can be handled within the cpuidle driver
and architectures such as POWER do not have asymmetric C-states.

Having single/global registration of all the idle states,
dynamic C-state transitions on x86 are handled by
the boot cpu. Here, the boot cpu  would disable all the devices,
re-populate the states and later enable all the devices,
irrespective of the cpu that would receive the notification first.

Reference:
https://lkml.org/lkml/2011/4/25/83

Signed-off-by: Deepthi Dharwar <deepthi@linux.vnet.ibm.com>
Signed-off-by: Trinabh Gupta <g.trinabh@gmail.com>
Tested-by: Jean Pihet <j-pihet@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2011-11-06 21:13:58 -05:00
..
include/mach ARM: set vga memory base at run-time 2011-07-12 11:19:29 -05:00
addr-map.c [ARM] Kirkwood: add support for PCIe1 2010-07-16 22:01:59 -04:00
common.c ARM: orion: Consolidate setup of the crypto engine. 2011-05-16 15:16:17 -04:00
common.h ARM: Remove dependency of plat-orion time code on mach directory includes. 2011-03-03 16:27:01 -05:00
cpuidle.c cpuidle: Single/Global registration of idle states 2011-11-06 21:13:58 -05:00
d2net_v2-setup.c ARM: Remove dependency of plat-orion time code on mach directory includes. 2011-03-03 16:27:01 -05:00
db88f6281-bp-setup.c ARM: Remove dependency of plat-orion time code on mach directory includes. 2011-03-03 16:27:01 -05:00
dockstar-setup.c ARM: Remove dependency of plat-orion time code on mach directory includes. 2011-03-03 16:27:01 -05:00
guruplug-setup.c ARM: Remove dependency of plat-orion time code on mach directory includes. 2011-03-03 16:27:01 -05:00
irq.c arm: Cleanup the irq namespace 2011-03-29 14:47:57 +02:00
Kconfig Kirkwood: Add support for 6282 based QNAP devices 2010-12-07 13:50:14 -05:00
lacie_v2-common.c [ARM] Kirkwood: fix timer initialization for LaCie boards 2010-10-21 14:13:58 -04:00
lacie_v2-common.h [ARM] Kirkwood: fix timer initialization for LaCie boards 2010-10-21 14:13:58 -04:00
Makefile [ARM] Kirkwood: remove duplicated code in LaCie setup files 2010-09-19 22:43:45 -04:00
Makefile.boot [ARM] add Marvell Kirkwood (88F6000) SoC support 2008-06-22 22:45:06 +02:00
mpp.c ARM: orion: Refactor the MPP code common in the orion platform 2011-05-16 15:25:54 -04:00
mpp.h ARM: orion: Refactor the MPP code common in the orion platform 2011-05-16 15:25:54 -04:00
mv88f6281gtw_ge-setup.c ARM: Remove dependency of plat-orion time code on mach directory includes. 2011-03-03 16:27:01 -05:00
netspace_v2-setup.c ARM: Remove dependency of plat-orion time code on mach directory includes. 2011-03-03 16:27:01 -05:00
netxbig_v2-setup.c ARM: Remove dependency of plat-orion time code on mach directory includes. 2011-03-03 16:27:01 -05:00
openrd-setup.c ARM: Remove dependency of plat-orion time code on mach directory includes. 2011-03-03 16:27:01 -05:00
pcie.c Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2011-07-29 23:35:05 -07:00
rd88f6192-nas-setup.c ARM: Remove dependency of plat-orion time code on mach directory includes. 2011-03-03 16:27:01 -05:00
rd88f6281-setup.c ARM: Remove dependency of plat-orion time code on mach directory includes. 2011-03-03 16:27:01 -05:00
sheevaplug-setup.c arm: mach-kirkwood: add led in sheevaplug-setup.c 2011-03-17 15:10:56 -04:00
t5325-setup.c ARM: Remove dependency of plat-orion time code on mach directory includes. 2011-03-03 16:27:01 -05:00
ts41x-setup.c ARM: Remove dependency of plat-orion time code on mach directory includes. 2011-03-03 16:27:01 -05:00
ts219-setup.c ARM: Remove dependency of plat-orion time code on mach directory includes. 2011-03-03 16:27:01 -05:00
tsx1x-common.c Fix common misspellings 2011-03-31 11:26:23 -03:00
tsx1x-common.h ARM: 6265/1: kirkwood: move qnap_tsx1x_register_flash() to .init.text 2010-07-26 10:33:08 +01:00