From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753350AbdFMMVR (ORCPT ); Tue, 13 Jun 2017 08:21:17 -0400 Received: from mail-wr0-f179.google.com ([209.85.128.179]:36798 "EHLO mail-wr0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752781AbdFMMVO (ORCPT ); Tue, 13 Jun 2017 08:21:14 -0400 Subject: Re: [PATCH v2] clockevents/tcb_clksrc: implement suspend/resume To: Alexandre Belloni , Nicolas Ferre , Thomas Gleixner Cc: Boris Brezillon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20170512182251.23948-1-alexandre.belloni@free-electrons.com> From: Daniel Lezcano Message-ID: <926f790a-3041-69fb-1501-2c8137f1ba65@linaro.org> Date: Tue, 13 Jun 2017 14:21:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20170512182251.23948-1-alexandre.belloni@free-electrons.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Should it be tagged for stable@? Side note: the config option is in drivers/misc, any particular reason to have it there and not in the clocksource's Kconfig? -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog