Skip to content

adapt clockevents frequencies to mono clock: prerequisites 1

Nicolai Stange lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6clocksource: sh_cmt: compute rate before registration againdrivers/clocksource/sh_cmt.c+25 -201 reply
2/6clocksource: sh_tmu: compute rate before registration againdrivers/clocksource/sh_tmu.c+13 -130 replies
3/6clocksource: em_sti: split clock prepare and enable stepsdrivers/clocksource/em_sti.c+14 -70 replies
4/6clocksource: em_sti: compute rate before registrationdrivers/clocksource/em_sti.c+12 -130 replies
5/6clocksource: h8300_timer8: don't reset rate in ->set_state_oneshot()drivers/clocksource/h8300_timer8.c+0 -80 replies
6/6clockevents: make clockevents_config() staticinclude/linux/clockchips.h kernel/time/clockevents.c+1 -20 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/6] adapt clockevents frequencies to mono clock: prerequisites 1

Hi,

in order to facilitate review, this (sub-)series has been split off from a larger effort to be found at [1].

The overall goal is to adjust the clockevent devices' frequencies to the NTP controlled monotonic time.

As a prerequisite, ced drivers must not alter the rate by any means other than clockevents_update_freq() after registration.

The four drivers touched here are the only ones currently violating this. What's more, altering the ced rates after registration isn't really necessary for any of them. This series cleans this up.

John signaled willingness to deal with all of this and thus, it would be best if all the patches herein would get picked by him only...

Based on v4.10-rc2.

Thanks,

Nicolai

[1] Current version:

      git://nicst.de/linux.git cev-freq-adj.v9.4.10-rc2
      http://nicst.de/git/?p=linux.git;a=shortlog;h=refs/heads/cev-freq-adj.v9.4.10-rc2

    Slightly outdated LKML submission:
      http://lkml.kernel.org/r/[email protected]

Nicolai Stange (6):
clocksource: sh_cmt: compute rate before registration again
clocksource: sh_tmu: compute rate before registration again
clocksource: em_sti: split clock prepare and enable steps
clocksource: em_sti: compute rate before registration
clocksource: h8300_timer8: don't reset rate in ->set_state_oneshot()
clockevents: make clockevents_config() static

 drivers/clocksource/em_sti.c       | 46 +++++++++++++++++++++-----------------
 drivers/clocksource/h8300_timer8.c |  8 -------
 drivers/clocksource/sh_cmt.c       | 45 ++++++++++++++++++++-----------------
 drivers/clocksource/sh_tmu.c       | 26 ++++++++++-----------
 include/linux/clockchips.h         |  1 -
 kernel/time/clockevents.c          |  2 +-
 6 files changed, 65 insertions(+), 63 deletions(-)
Signature · 1 line
2.11.1