From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753289AbdFMM2E (ORCPT ); Tue, 13 Jun 2017 08:28:04 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:54074 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751965AbdFMM2D (ORCPT ); Tue, 13 Jun 2017 08:28:03 -0400 Date: Tue, 13 Jun 2017 14:28:00 +0200 From: Alexandre Belloni To: Daniel Lezcano Cc: Nicolas Ferre , Thomas Gleixner , Boris Brezillon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] clockevents/tcb_clksrc: implement suspend/resume Message-ID: <20170613122800.tic2c5c2p7nqz6dq@piout.net> References: <20170512182251.23948-1-alexandre.belloni@free-electrons.com> <926f790a-3041-69fb-1501-2c8137f1ba65@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <926f790a-3041-69fb-1501-2c8137f1ba65@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/06/2017 at 14:21:10 +0200, Daniel Lezcano wrote: > On 12/05/2017 20:22, Alexandre Belloni wrote: > > On sama5d2, power to the core may be cut while entering suspend mode. It is > > necessary to save and restore the TCB registers. > > > > Signed-off-by: Alexandre Belloni > > The context will be saved/restored on all the platforms (other than > sama5d2) using this timer even if the clock is not powered down. Is that ok? > Yes, that is fine. There is not much we can do here until we can determine what is the target suspend state from the drivers. > Should it be tagged for stable@? > No because support for this suspend mode is not yet upstream. > Side note: the config option is in drivers/misc, any particular reason > to have it there and not in the clocksource's Kconfig? > Mostly historical, this is changed in the other series. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com