From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755319AbdDLUKp (ORCPT ); Wed, 12 Apr 2017 16:10:45 -0400 Received: from eddie.linux-mips.org ([148.251.95.138]:36480 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751620AbdDLUKm (ORCPT ); Wed, 12 Apr 2017 16:10:42 -0400 Date: Wed, 12 Apr 2017 22:10:28 +0200 From: Ralf Baechle To: Nicolai Stange Cc: Keguang Zhang , John Crispin , John Stultz , linux-kernel@vger.kernel.org, Thomas Gleixner , Paul Gortmaker , James Hogan , Andrea Gelmini , Huacai Chen , linux-mips@linux-mips.org Subject: Re: [PATCH] MIPS: clockevent drivers: set ->min_delta_ticks and ->max_delta_ticks Message-ID: <20170412201028.GA31873@linux-mips.org> References: <20170326134403.16226-1-nicstange@gmail.com> <20170330194732.7126-1-nicstange@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170330194732.7126-1-nicstange@gmail.com> User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 30, 2017 at 09:47:32PM +0200, Nicolai Stange wrote: > 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 MIPS 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: Ralf Baechle Feel free to push this to Linus. Ralf