From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752595AbdBFVMZ (ORCPT ); Mon, 6 Feb 2017 16:12:25 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:33581 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752502AbdBFVMY (ORCPT ); Mon, 6 Feb 2017 16:12:24 -0500 From: Nicolai Stange To: John Stultz Cc: Daniel Lezcano , Thomas Gleixner , Yoshinori Sato , Magnus Damm , linux-kernel@vger.kernel.org, uclinux-h8-devel@lists.sourceforge.jp, Nicolai Stange Subject: [PATCH 0/6] adapt clockevents frequencies to mono clock: prerequisites 1 Date: Mon, 6 Feb 2017 22:11:58 +0100 Message-Id: <20170206211204.25251-1-nicstange@gmail.com> X-Mailer: git-send-email 2.11.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@gmail.com 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