kernel-fxtec-pro1x/arch/arm/mach-davinci
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: davinci: correct MDSTAT_STATE_MASK 2011-09-07 14:23:02 +05:30
aemif.c davinci: aemif: signedness bug in davinci_aemif_setup_timing() 2010-12-10 07:33:51 -08:00
board-da830-evm.c ARM: mach-davinci: move from ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size 2011-07-18 15:29:58 -04:00
board-da850-evm.c ARM: davinci: da850 EVM: read mac address from SPI flash 2011-09-07 14:23:01 +05:30
board-dm355-evm.c ARM: mach-davinci: move from ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size 2011-07-18 15:29:58 -04:00
board-dm355-leopard.c ARM: mach-davinci: move from ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size 2011-07-18 15:29:58 -04:00
board-dm365-evm.c Merge branch 'devel-stable' into for-next 2011-07-22 23:09:07 +01:00
board-dm644x-evm.c ARM: mach-davinci: move from ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size 2011-07-18 15:29:58 -04:00
board-dm646x-evm.c Merge branch 'next/cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc 2011-07-25 12:38:42 -07:00
board-mityomapl138.c Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2011-07-24 10:20:54 -07:00
board-neuros-osd2.c ARM: mach-davinci: move from ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size 2011-07-18 15:29:58 -04:00
board-omapl138-hawk.c ARM: mach-davinci: move from ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size 2011-07-18 15:29:58 -04:00
board-sffsdr.c ARM: mach-davinci: move from ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size 2011-07-18 15:29:58 -04:00
board-tnetv107x-evm.c ARM: mach-davinci: move from ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size 2011-07-18 15:29:58 -04:00
cdce949.c
clock.c Merge branch 'next/devel' of ssh://master.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc 2011-07-26 17:41:04 -07:00
clock.h Merge branch 'next/devel' of ssh://master.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc 2011-07-26 17:41:04 -07:00
common.c
cp_intc.c arm: Cleanup the irq namespace 2011-03-29 14:47:57 +02:00
cpufreq.c [CPUFREQ] use dynamic debug instead of custom infrastructure 2011-05-04 11:50:57 -04:00
cpuidle.c cpuidle: Single/Global registration of idle states 2011-11-06 21:13:58 -05:00
da830.c davinci: macro rename DA8XX_LPSC0_DMAX to DA8XX_LPSC0_PRUSS. 2011-03-11 10:48:29 -08:00
da850.c davinci: da850: add support for SATA interface 2011-07-08 11:13:08 +05:30
devices-da8xx.c davinci: da850: add support for SATA interface 2011-07-08 11:13:08 +05:30
devices-tnetv107x.c davinci: add tnetv107x ssp platform device 2011-03-15 08:17:22 -07:00
devices.c davinci: make PCM platform devices static 2011-06-08 14:41:37 +05:30
dm355.c Revert wrong fixes for common misspellings 2011-04-26 23:31:11 -07:00
dm365.c davinci: spi: move event queue parameter to platform data 2011-02-28 14:53:29 -08:00
dm644x.c Revert wrong fixes for common misspellings 2011-04-26 23:31:11 -07:00
dm646x.c Merge branch 'next/cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc 2011-07-25 12:38:42 -07:00
dma.c
gpio-tnetv107x.c davinci: tnetv107x: fix register indexing for GPIOs numbers > 31 2011-02-28 14:53:19 -08:00
gpio.c arm: davinci: Fix low level gpio irq handlers' argument 2011-07-12 14:21:43 +05:30
io.c
irq.c Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc 2011-07-19 22:10:05 -07:00
Kconfig ARM: Davinci: Fix I2C build errors 2011-04-25 14:19:32 +05:30
Makefile
Makefile.boot
mux.c
mux.h
pm.c net: remove mm.h inclusion from netdevice.h 2011-06-21 19:17:20 -07:00
psc.c davinci: enable forced transitions on PSC 2011-07-08 11:10:09 +05:30
serial.c
sleep.S ARM: davinci: fix cache flush build error 2011-09-07 17:22:12 +05:30
sram.c
time.c Merge branch 'devel-stable' into devel 2011-01-06 22:33:32 +00:00
tnetv107x.c davinci: add tnetv107x ssp platform device 2011-03-15 08:17:22 -07:00
usb.c DA8xx: assign name to MUSB IRQ resource 2010-12-11 12:15:53 +02:00