19 Dec, 2011

1 commit

  • sched_clock() is yet another blocker on the road to the single
    image. This patch implements an idea by Russell King:

    http://www.spinics.net/lists/linux-omap/msg49561.html

    Instead of asking the platform to implement both sched_clock()
    itself and the rollover callback, simply register a read()
    function, and let the ARM code care about sched_clock() itself,
    the conversion to ns and the rollover. sched_clock() uses
    this read() function as an indirection to the platform code.
    If the platform doesn't provide a read(), the code falls back
    to the jiffy counter (just like the default sched_clock).

    This allow some simplifications and possibly some footprint gain
    when multiple platforms are compiled in. Among the drawbacks,
    the removal of the *_fixed_sched_clock optimization which could
    negatively impact some platforms (sa1100, tegra, versatile
    and omap).

    Tested on 11MPCore, OMAP4 and Tegra.

    Cc: Imre Kaloz
    Cc: Eric Miao
    Cc: Colin Cross
    Cc: Erik Gilling
    Cc: Olof Johansson
    Cc: Sascha Hauer
    Cc: Alessandro Rubini
    Cc: STEricsson
    Cc: Lennert Buytenhek
    Cc: Ben Dooks
    Tested-by: Jamie Iles
    Tested-by: Tony Lindgren
    Tested-by: Kyungmin Park
    Acked-by: Linus Walleij
    Acked-by: Nicolas Pitre
    Acked-by: Krzysztof Halasa
    Acked-by: Kukjin Kim
    Signed-off-by: Marc Zyngier
    Signed-off-by: Russell King

    Marc Zyngier
     

17 Oct, 2011

1 commit


23 May, 2011

1 commit


29 Mar, 2011

2 commits


24 Feb, 2011

1 commit

  • The current code support of dummy timers in absence of local
    timer is compile time. This is an attempt to convert it to runtime
    so that on few SOC version if the local timers aren't supported
    kernel can switch to dummy timers. OMAP4430 ES1.0 does suffer from
    this limitation.

    This patch should not have any functional impact on affected
    files.

    Cc: Daniel Walker
    Cc: Bryan Huntsman
    Cc: Tony Lindgren
    Cc: Kukjin Kim
    Cc: Paul Mundt
    Cc: Magnus Damm
    Cc: Colin Cross
    Cc: Erik Gilling
    Cc: Srinidhi Kasagar
    Cc: Linus Walleij
    Signed-off-by: Santosh Shilimkar
    Acked-by: David Brown
    Signed-off-by: Russell King

    Santosh Shilimkar
     

19 Feb, 2011

6 commits


06 Jan, 2011

1 commit


05 Jan, 2011

1 commit


23 Dec, 2010

3 commits


19 Nov, 2010

1 commit


04 Nov, 2010

1 commit


26 Jul, 2010

2 commits


02 May, 2010

6 commits