From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Norris Subject: Re: [PATCH] clocksource: arm_arch_timer: Don't assume clock runs in suspend Date: Tue, 18 Oct 2016 18:36:13 -0700 Message-ID: <20161019013612.GA107490@google.com> References: <20160916054917.16930-1-briannorris@chromium.org> <57DBA81F.2060404@arm.com> <20160919231441.GA60928@google.com> <57E0E97B.5000106@arm.com> <20160928012309.GA29518@localhost> <20160929170847.1227a312@arm.com> <20161004174903.GA3098@localhost> <20161019012441.GW8871@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20161019012441.GW8871-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+glpar-linux-rockchip=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Stephen Boyd Cc: Mark Rutland , Marc Zyngier , Daniel Lezcano , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Thomas Gleixner , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org List-Id: linux-rockchip.vger.kernel.org On Tue, Oct 18, 2016 at 06:24:41PM -0700, Stephen Boyd wrote: > Just curious, do we enter this state during cpuidle as well? Or > is it only across suspend that the clock stops working? I believe we do not on either rk3288 or rk3399. We'd have to be powering off almost the entire system before we'd be able to gate the 24 MHz oscillator, AIUI. Brian From mboxrd@z Thu Jan 1 00:00:00 1970 From: briannorris@chromium.org (Brian Norris) Date: Tue, 18 Oct 2016 18:36:13 -0700 Subject: [PATCH] clocksource: arm_arch_timer: Don't assume clock runs in suspend In-Reply-To: <20161019012441.GW8871@codeaurora.org> References: <20160916054917.16930-1-briannorris@chromium.org> <57DBA81F.2060404@arm.com> <20160919231441.GA60928@google.com> <57E0E97B.5000106@arm.com> <20160928012309.GA29518@localhost> <20160929170847.1227a312@arm.com> <20161004174903.GA3098@localhost> <20161019012441.GW8871@codeaurora.org> Message-ID: <20161019013612.GA107490@google.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Oct 18, 2016 at 06:24:41PM -0700, Stephen Boyd wrote: > Just curious, do we enter this state during cpuidle as well? Or > is it only across suspend that the clock stops working? I believe we do not on either rk3288 or rk3399. We'd have to be powering off almost the entire system before we'd be able to gate the 24 MHz oscillator, AIUI. Brian From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754947AbcJSBgS (ORCPT ); Tue, 18 Oct 2016 21:36:18 -0400 Received: from mail-pf0-f176.google.com ([209.85.192.176]:35104 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751981AbcJSBgR (ORCPT ); Tue, 18 Oct 2016 21:36:17 -0400 Date: Tue, 18 Oct 2016 18:36:13 -0700 From: Brian Norris To: Stephen Boyd Cc: Marc Zyngier , Daniel Lezcano , Thomas Gleixner , Mark Rutland , linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, wxt@rock-chips.com, dianders@chromium.org Subject: Re: [PATCH] clocksource: arm_arch_timer: Don't assume clock runs in suspend Message-ID: <20161019013612.GA107490@google.com> References: <20160916054917.16930-1-briannorris@chromium.org> <57DBA81F.2060404@arm.com> <20160919231441.GA60928@google.com> <57E0E97B.5000106@arm.com> <20160928012309.GA29518@localhost> <20160929170847.1227a312@arm.com> <20161004174903.GA3098@localhost> <20161019012441.GW8871@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161019012441.GW8871@codeaurora.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 18, 2016 at 06:24:41PM -0700, Stephen Boyd wrote: > Just curious, do we enter this state during cpuidle as well? Or > is it only across suspend that the clock stops working? I believe we do not on either rk3288 or rk3399. We'd have to be powering off almost the entire system before we'd be able to gate the 24 MHz oscillator, AIUI. Brian