linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Add generic idle notifiers
@ 2011-06-28  2:46 Todd Poynor
  2011-06-28  2:46 ` [PATCH 1/3] Move x86_64 idle notifiers to generic Todd Poynor
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Todd Poynor @ 2011-06-28  2:46 UTC (permalink / raw)
  To: linux-arm-kernel

Add notifiers for idle entry and exit, called with IDLE_START when a
CPU goes idle and IDLE_END when it goes out of idle, based on the
existing idle notifiers for the x86_64 arch.

Convert x86_64 to use these notifiers, and call the notifiers on ARM.

Convert the ARM LEDs events for idle start/end to these notifiers.

 arch/arm/kernel/leds.c       |   27 ++++++++++++++++++++++++++-
 arch/arm/kernel/process.c    |    5 ++---
 arch/x86/include/asm/idle.h  |    7 -------
 arch/x86/kernel/process_64.c |   18 ++----------------
 include/linux/cpu.h          |    7 +++++++
 kernel/cpu.c                 |   20 ++++++++++++++++++++
 6 files changed, 57 insertions(+), 27 deletions(-)

-- 
1.7.3.1

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-07-13 22:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-28  2:46 [PATCH 0/3] Add generic idle notifiers Todd Poynor
2011-06-28  2:46 ` [PATCH 1/3] Move x86_64 idle notifiers to generic Todd Poynor
2011-06-28  2:46 ` [PATCH 2/3] ARM: Call idle notifiers Todd Poynor
2011-07-07 17:08   ` Kevin Hilman
2011-07-11 19:50   ` Frederic Weisbecker
2011-07-13 22:53     ` Todd Poynor
2011-06-28  2:46 ` [PATCH 3/3] ARM: Move leds idle start/stop calls to " Todd Poynor
2011-06-28  9:02 ` [PATCH 0/3] Add generic " Bryan Wu
2011-06-28 18:28   ` Nicolas Pitre
2011-06-28 18:25 ` Nicolas Pitre
2011-07-07 17:05 ` Kevin Hilman
2011-07-07 20:17   ` Todd Poynor
2011-07-07 22:34     ` Kevin Hilman
2011-07-08 11:13     ` Russell King - ARM Linux
2011-07-11 22:10       ` Todd Poynor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).