original_kernel/arch/arm/mach-kirkwood
Deepthi Dharwar e978aa7d7d cpuidle: Move dev->last_residency update to driver enter routine; remove dev->last_state
Cpuidle governor only suggests the state to enter using the
governor->select() interface, but allows the low level driver to
override the recommended state. The actual entered state
may be different because of software or hardware demotion. Software
demotion is done by the back-end cpuidle driver and can be accounted
correctly. Current cpuidle code uses last_state field to capture the
actual state entered and based on that updates the statistics for the
state entered.

Ideally the driver enter routine should update the counters,
and it should return the state actually entered rather than the time
spent there. The generic cpuidle code should simply handle where
the counters live in the sysfs namespace, not updating the counters.

Reference:
https://lkml.org/lkml/2011/3/25/52

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:30 -05:00
..
include/mach ARM: set vga memory base at run-time 2011-07-12 11:19:29 -05:00
Kconfig
Makefile
Makefile.boot
addr-map.c
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: Move dev->last_residency update to driver enter routine; remove dev->last_state 2011-11-06 21:13:30 -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
lacie_v2-common.c
lacie_v2-common.h
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