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
21 Jul, 2011
2 commits
-
Convert the S5PV210/S5P64X0 32-bit down-counting clocksource to
the generic mmio clocksource infrastructureSigned-off-by: Chanwoo Choi
Signed-off-by: Kyungmin Park
Signed-off-by: Kukjin Kim
20 Jul, 2011
1 commit
-
Signed-off-by: Thomas Abraham
Signed-off-by: Kukjin Kim
06 Jul, 2011
1 commit
-
This patch fixes following.
[ 0.000000] sched_clock: 32 bits at 33MHz, ...
[ 128.651309] Calibrating delay loop...There is a big jump. The reason is that PWM Timer which
is for HRTimer was used before its initialization.So this patch changes its order and following is kernel
boot log message after this.[ 0.000000] sched_clock: 32 bits at 33MHz, ...
[ 0.000088] Calibrating delay loop...Signed-off-by: Sangbeom Kim
Signed-off-by: Kukjin Kim
24 May, 2011
1 commit
-
s5p duplicates the runtime selection of the timer register three times.
Move this out into a separate function.FIXME: It is unclear whether this code needs to support true runtime
selection of the timer register, or whether it can be selected once at
init time.Acked-by: Kukjin Kim
Signed-off-by: Russell King
12 Mar, 2011
1 commit
-
This patch adds support HR-Timer(High Resolution Timer) and dynamic
tick system for S5P SoCs. There are many clock sources for HR-Timer
on S5P SoCs. The PWM timer, RTC, System Timer, and MCT can be used
for clock source.
This patch can only support PWM timer for clock source of S5P64X0
and S5PV210.Signed-off-by: Sangbeom Kim
Signed-off-by: Kukjin Kim