From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752031AbdDATS6 (ORCPT ); Sat, 1 Apr 2017 15:18:58 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:56908 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751958AbdDATS4 (ORCPT ); Sat, 1 Apr 2017 15:18:56 -0400 Date: Sat, 01 Apr 2017 12:18:50 -0700 (PDT) Message-Id: <20170401.121850.1228750723867716615.davem@davemloft.net> To: nicstange@gmail.com Cc: john.stultz@linaro.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, sparclinux@vger.kernel.org Subject: Re: [PATCH] sparc/time: set ->min_delta_ticks and ->max_delta_ticks From: David Miller In-Reply-To: <20170330195647.7668-1-nicstange@gmail.com> References: <20170326134403.16226-1-nicstange@gmail.com> <20170330195647.7668-1-nicstange@gmail.com> X-Mailer: Mew version 6.7 on Emacs 25.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sat, 01 Apr 2017 11:37:35 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nicolai Stange Date: Thu, 30 Mar 2017 21:56:47 +0200 > In preparation for making the clockevents core NTP correction aware, > all clockevent device drivers must set ->min_delta_ticks and > ->max_delta_ticks rather than ->min_delta_ns and ->max_delta_ns: a > clockevent device's rate is going to change dynamically and thus, the > ratio of ns to ticks ceases to stay invariant. > > Make the sparc arch's clockevent drivers initialize these fields properly. > > This patch alone doesn't introduce any change in functionality as the > clockevents core still looks exclusively at the (untouched) ->min_delta_ns > and ->max_delta_ns. As soon as this has changed, a followup patch will > purge the initialization of ->min_delta_ns and ->max_delta_ns from these > drivers. > > Signed-off-by: Nicolai Stange Acked-by: David S. Miller From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Date: Sat, 01 Apr 2017 19:18:50 +0000 Subject: Re: [PATCH] sparc/time: set ->min_delta_ticks and ->max_delta_ticks Message-Id: <20170401.121850.1228750723867716615.davem@davemloft.net> List-Id: References: <20170326134403.16226-1-nicstange@gmail.com> <20170330195647.7668-1-nicstange@gmail.com> In-Reply-To: <20170330195647.7668-1-nicstange@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: nicstange@gmail.com Cc: john.stultz@linaro.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, sparclinux@vger.kernel.org From: Nicolai Stange Date: Thu, 30 Mar 2017 21:56:47 +0200 > In preparation for making the clockevents core NTP correction aware, > all clockevent device drivers must set ->min_delta_ticks and > ->max_delta_ticks rather than ->min_delta_ns and ->max_delta_ns: a > clockevent device's rate is going to change dynamically and thus, the > ratio of ns to ticks ceases to stay invariant. > > Make the sparc arch's clockevent drivers initialize these fields properly. > > This patch alone doesn't introduce any change in functionality as the > clockevents core still looks exclusively at the (untouched) ->min_delta_ns > and ->max_delta_ns. As soon as this has changed, a followup patch will > purge the initialization of ->min_delta_ns and ->max_delta_ns from these > drivers. > > Signed-off-by: Nicolai Stange Acked-by: David S. Miller