[PATCH 0/6] adapt clockevents frequencies to mono clock: prerequisites 1

From: Nicolai Stange
Date: Mon Feb 06 2017 - 16:13:43 EST


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/20161119160055.12491-1-nicstange@xxxxxxxxx

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(-)

--
2.11.1