From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753096AbbCJNFt (ORCPT ); Tue, 10 Mar 2015 09:05:49 -0400 Received: from mail-wg0-f50.google.com ([74.125.82.50]:33145 "EHLO mail-wg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751097AbbCJNFr (ORCPT ); Tue, 10 Mar 2015 09:05:47 -0400 Date: Tue, 10 Mar 2015 14:05:41 +0100 From: Ingo Molnar To: Viresh Kumar Cc: Thomas Gleixner , Peter Zijlstra , Ingo Molnar , Linaro Kernel Mailman List , Kevin Hilman , Preeti U Murthy , Daniel Lezcano , Linux Kernel Mailing List , "linux-arm-kernel@lists.infradead.org" , Frederic Weisbecker , Linaro Networking Subject: Re: [PATCH 0/3] clockevents: Manage device's state separately for core Message-ID: <20150310130541.GA26185@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Viresh Kumar wrote: > On 27 February 2015 at 17:21, Viresh Kumar wrote: > > Hi Thomas/Ingo, > > > > This is in response to the suggestions Ingo gave [1] on the shortcomings of > > clockevents core's state machine. > > > > This first separates out the RESUME functionality from other states as its a > > special case. Then it defines a new enum to map possible states of a clockevent > > device. > > > > Ideally it should only be available for the core, but as bL switcher is using it > > today, it is exposed in clockchips.h. That dependency will go away after > > applying the Thomas's work (Sent out be Peter) and then we can move this enum to > > somewhere in kernel/time/. > > > > The last patch moves the legacy check to the legacy code. > > > > Please see if this meets your expectation or if you have some suggestions on it. > > > > Rebased of tip/master as there were some dependencies: > > 575daeea39a3 Merge branch 'tools/kvm' > > > > This along with migration of few clockevents drivers is pushed here: > > git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/linux.git clkevt/manage-state > > > > -- > > Viresh > > > > [1] https://lkml.org/lkml/2015/2/20/107 > > > > Viresh Kumar (3): > > clockevents: Handle tick device's resume separately > > clockevents: Manage device's state separately for the core > > clockevents: Don't validate dev->mode against CLOCK_EVT_MODE_UNUSED > > for new interface > > Ingo, > > Gentle reminder ping... Yeah, so I'd like PeterZ to ACK/NAK this approach before I move forward with the patches - but he's on the road right now, so it will take a week I suspect. Thanks, Ingo