aboutsummaryrefslogtreecommitdiff
path: root/kernel/cpu_pm.c
AgeCommit message (Collapse)AuthorFilesLines
2015-09-03kernel/cpu_pm: fix cpu_cluster_pm_exit commentLina Iyer1-1/+1
cpu_cluster_pm_exit() must be sent after cpu_cluster_pm_enter() has been sent for the cluster and before any cpu_pm_exit() notifications are sent for any CPU. Cc: Nicolas Pitre <[email protected]> Acked-by: Kevin Hilman <[email protected]> Signed-off-by: Lina Iyer <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
2012-05-31kernel/cpu_pm.c: fix various typosNicolas Pitre1-8/+8
Signed-off-by: Nicolas Pitre <[email protected]> Acked-by: Colin Cross <[email protected]> Acked-by: Santosh Shilimkar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2011-09-23cpu_pm: call notifiers during suspendColin Cross1-0/+33
Implements syscore_ops in cpu_pm to call the cpu and cpu cluster notifiers during suspend and resume, allowing drivers receiving the notifications to avoid implementing syscore_ops. Signed-off-by: Colin Cross <[email protected]> Signed-off-by: Santosh Shilimkar <[email protected]> Reviewed-by: Kevin Hilman <[email protected]> Tested-and-Acked-by: Shawn Guo <[email protected]> Tested-by: Vishwanath BS <[email protected]>
2011-09-23cpu_pm: Add cpu power management notifiersColin Cross1-0/+200
During some CPU power modes entered during idle, hotplug and suspend, peripherals located in the CPU power domain, such as the GIC, localtimers, and VFP, may be powered down. Add a notifier chain that allows drivers for those peripherals to be notified before and after they may be reset. Notified drivers can include VFP co-processor, interrupt controller and it's PM extensions, local CPU timers context save/restore which shouldn't be interrupted. Hence CPU PM event APIs must be called with interrupts disabled. Signed-off-by: Colin Cross <[email protected]> Signed-off-by: Santosh Shilimkar <[email protected]> Reviewed-by: Kevin Hilman <[email protected]> Tested-and-Acked-by: Shawn Guo <[email protected]> Tested-by: Kevin Hilman <[email protected]> Tested-by: Vishwanath BS <[email protected]>