Skip to content

Complete set of clocksource/sched_clock patches

Russell King - ARM Linux linux-arm-kernel linux-arm-msm linux-omap linux-samsung-soc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 40 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 40 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/40] Complete set of clocksource/sched_clock patches
Quoted 6 lines · Mikael Pettersson

tmr = timer mode register
tcr = timer counter register
trr = timer reload register

When a timer is in periodic mode it reloads itself from its reload register when the counter register decrements to zero.

Ok.

Quoted 4 lines
Quoted 2 lines

Does trr need to be written in
->set_mode (if so that's another bug in this code)?

trr{0,1} need not and should not be changed after iop_time_init().

It sounds like trr0 needs to be written in ->set_mode's CLOCK_EVT_MODE_PERIODIC path then, because with my patch, we never set this register. Or will trr0 be updated when we write tcr0 ?