linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ARM sched_clock selection enhancements
@ 2013-03-12  2:26 Rob Herring
  2013-03-12  2:26 ` [PATCH 1/3] ARM: sched_clock: allow changing to higher frequency counter Rob Herring
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Rob Herring @ 2013-03-12  2:26 UTC (permalink / raw)
  To: linux-arm-kernel

From: Rob Herring <rob.herring@calxeda.com>

In preparation to move more timer initialization to use CLKSRC_OF and
out of the platforms, a way to select the timer used for sched_clock is
needed. This series makes the ARM sched_clock support code prefer 64-bit
counters or higher frequency counters. This is sufficient at least on
ARM Ltd boards to use the 24MHz counter rather than sp804 and to always
use the 64-bit architected timer when present. This mechanism can be
extended to DT properties if needed for any non-discoverable h/w feature.

Rob

Rob Herring (3):
  ARM: sched_clock: allow changing to higher frequency counter
  ARM: sched_clock: support 64-bit counters
  ARM: arch_timer: use the 64-bit sched_clock setup

 arch/arm/include/asm/sched_clock.h |    1 +
 arch/arm/kernel/arch_timer.c       |    8 +-------
 arch/arm/kernel/sched_clock.c      |   35 ++++++++++++++++++++++++++++++++---
 3 files changed, 34 insertions(+), 10 deletions(-)

-- 
1.7.10.4

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

end of thread, other threads:[~2013-03-22 15:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-12  2:26 [PATCH 0/3] ARM sched_clock selection enhancements Rob Herring
2013-03-12  2:26 ` [PATCH 1/3] ARM: sched_clock: allow changing to higher frequency counter Rob Herring
2013-03-12  2:26 ` [PATCH 2/3] ARM: sched_clock: support 64-bit counters Rob Herring
2013-03-21 14:02   ` Christopher Covington
2013-03-21 22:15     ` Rob Herring
2013-03-22 12:03       ` Christopher Covington
2013-03-22 12:58         ` Rob Herring
2013-03-22 15:20           ` Russell King - ARM Linux
2013-03-22 11:09     ` Russell King - ARM Linux
2013-03-12  2:26 ` [PATCH 3/3] ARM: arch_timer: use the 64-bit sched_clock setup Rob Herring
2013-03-12  9:23 ` [PATCH 0/3] ARM sched_clock selection enhancements Russell King - ARM Linux
2013-03-12 12:43   ` Rob Herring
2013-03-20 23:03     ` Rob Herring

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).