Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755618AbcKOJ6E (ORCPT ); Tue, 15 Nov 2016 04:58:04 -0500 Received: from mail-wm0-f44.google.com ([74.125.82.44]:38005 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S941399AbcKOJ57 (ORCPT ); Tue, 15 Nov 2016 04:57:59 -0500 Date: Tue, 15 Nov 2016 10:57:54 +0100 From: Daniel Lezcano To: Noam Camus Cc: robh+dt@kernel.org, mark.rutland@arm.com, tglx@linutronix.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 0/3] Add clockevent for timer-nps driver to NPS400 SoC Message-ID: <20161115095754.GA1835@mai> References: <1479199859-980-1-git-send-email-noamca@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1479199859-980-1-git-send-email-noamca@mellanox.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1873 Lines: 51 On Tue, Nov 15, 2016 at 10:50:56AM +0200, Noam Camus wrote: > From: Noam Camus > > Change log > --- > V6 --> V7 > Apply several comments made by Daniel Lezcano: > 1) Remove CLOCK_EVT_FEAT_PERIODIC support. This way it is > pure oneshot driver. This simplifies driver so that: > nps_clkevent_add_thread() > nps_clkevent_rm_thread() > are more clearer without any vague logic if to change > TSI bit of current HW thread or not. > 2) tick_resume is also calls nps_clkevent_rm_thread() > 3) Few (hopefully last) typo fixes. > > V5 --> V6 > Apply several comments made by Daniel Lezcano: > 1) nps_get_timer_clk() - use clk_put() on error scenario > 2) nps_get_timer_clk() - return EINVAL and not plain 1 > 3) Fix typos in log (double checked with spell checker) > > V4 --> V5 > Apply several comments made by Daniel Lezcano: > 1) Add __init attribute to nps_get_timer_clk() > 2) Fix return value of nps_get_timer_clk() > when failing to get clk rate > 3) Change clocksource rate from 301 -> 300 > > V3 --> V4 > Main changes are [Thanks for the review]: > Fix many typos at log [Daniel] > Add handling for bad return values [Daniel and Thomas] > Replace use of internal irqchip pointers with existing IRQ API [Thomas] > Provide interrupt handler (percpu) with dev_id equal to evt [Thomas] > Fix passing *clk by reference to nps_get_timer_clk() [Daniel] > > V2 --> V3 > Apply Rob Herring comment about backword compatibility > > V1 --> V2 > Apply Daniel Lezcano comments: > CLOCKSOURCE_OF_DECLARE return value > update hotplug callbacks usage > squash of 2 first commits. > In this version I created new commit to serve as preperation for adding clockevents. > This way the last patch is more readable with clockevent content. > --- Do you want me to take the entire series in my tree, or do you want my acked-by to push them in your tree ?