Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756563AbcJSBYw (ORCPT ); Tue, 18 Oct 2016 21:24:52 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:40489 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752313AbcJSBYn (ORCPT ); Tue, 18 Oct 2016 21:24:43 -0400 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org CFAB961ACE Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=sboyd@codeaurora.org Date: Tue, 18 Oct 2016 18:24:41 -0700 From: Stephen Boyd To: Brian Norris 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: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161004174903.GA3098@localhost> 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 Content-Length: 1441 Lines: 34 On 10/04, Brian Norris wrote: > Hi Marc, > > On Thu, Sep 29, 2016 at 05:08:47PM +0100, Marc Zyngier wrote: > > On Tue, 27 Sep 2016 18:23:11 -0700 > > Brian Norris wrote: > > > On Tue, Sep 20, 2016 at 08:47:07AM +0100, Marc Zyngier wrote: > > > > > > rk3288 (ARMv7 system widely used for our Chromebooks) has the same > > > issue, except the kernel we're using for production (based on v3.14) > > > doesn't have the following commit, which stopped utilizing the RTC: > > > > > > commit 0fa88cb4b82b5cf7429bc1cef9db006ca035754e > > > Author: Xunlei Pang > > > Date: Wed Apr 1 20:34:38 2015 -0700 > > > > > > time, drivers/rtc: Don't bother with rtc_resume() for the nonstop clocksource > > > > > > And any mainline testing on rk3288 doesn't see the problem, because > > > mainline doesn't support its lowest-power sleep modes well enough (see > > > ROCKCHIP_ARM_OFF_LOGIC_DEEP in arch/arm/mach-rockchip/pm.c). > > > > Arghh... So even my favourite Chromebook (from which I'm typing this > > email) is affected? Not very nice... > > Yep. But if you're running mainline, you just get to have high S3 power > consumption instead! Just curious, do we enter this state during cpuidle as well? Or is it only across suspend that the clock stops working? -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project