From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932173AbbLRNPY (ORCPT ); Fri, 18 Dec 2015 08:15:24 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:55889 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752753AbbLRNPU (ORCPT ); Fri, 18 Dec 2015 08:15:20 -0500 Subject: Re: [PATCH v4] clocksource: arm_global_timer: fix suspend resume To: Daniel Lezcano , Thomas Gleixner , Srinivas Kandagatla , Maxime Coquelin References: <1448907912-15512-1-git-send-email-grygorii.strashko@ti.com> CC: Russell King , , , , , Santosh Shilimkar , Arnd Bergmann , John Stultz , Felipe Balbi , Tony Lindgren , Marc Zyngier From: Grygorii Strashko Message-ID: <567406A2.1050906@ti.com> Date: Fri, 18 Dec 2015 15:14:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1448907912-15512-1-git-send-email-grygorii.strashko@ti.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, On 11/30/2015 08:25 PM, Grygorii Strashko wrote: > Now the System stall is observed on TI AM437x based board > (am437x-gp-evm) during resuming from System suspend when ARM Global > timer is selected as clocksource device (CPUIdle not enabled) - SysRq are working, > but nothing else. > > The reason of stall is that ARM Global timer loses its contexts during > System suspend: > GT_CONTROL.TIMER_ENABLE = 0 (unbanked) > GT_COUNTERx = 0 > > Hence, update ARM Global timer driver to reflect above behaviour > - re-enable ARM Global timer on resume (GT_CONTROL.TIMER_ENABLE = 1) > if not enabled. > > CC: Arnd Bergmann > Cc: John Stultz > Cc: Felipe Balbi > Cc: Tony Lindgren > Cc: Marc Zyngier > Reviewed-by: Santosh Shilimkar > Signed-off-by: Grygorii Strashko Are there any comments? Do I need to perform any additional actions to have it merged? -- regards, -grygorii