Skip to content

clockevents

Soren Brinkmann linux-arm-kernel linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2time: Serialize calls to 'clockevents_update_freq' in the timing corekernel/time/clockevents.c kernel/time/tick-broadcast.c kernel/time/tick-internal.h+45 -133 replies
2/2time: clockevents: Adjust timer interval when frequency changeskernel/time/clockevents.c+6 -30 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] clockevents

Hi Thomas,

before respinning the complete series, I thought we could take a look at the changes to the timer core, since I expect them to need to be refined for an actual submission.

The first patch is the patch you proposed to serialize callers of clockevents_update_freq(). I guess you may find some better words to describe your changes. I found it not that easy to find a nice description for somebody else's patch.

The second patch is my shot at extending clockevents_update_freq() to also handle timers in periodic mode. In my approach I assume that simply calling the timer's 'set_mode()' API takes care of programming an appropriate interval based on the current timer frequency. If that doesn't work for all timers, I guess it would require a new API call. Or I just missed some other way.

Thanks,
S?ren

Soren Brinkmann (2):
time: Serialize calls to 'clockevents_update_freq' in the timing core
time: clockevents: Adjust timer interval when frequency changes

 kernel/time/clockevents.c    | 32 +++++++++++++++++++++++++-------
 kernel/time/tick-broadcast.c | 25 +++++++++++++++++++------
 kernel/time/tick-internal.h  |  4 ++++
 3 files changed, 48 insertions(+), 13 deletions(-)
Signature · 1 line
1.8.5.1