Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753822AbbBSOQO (ORCPT ); Thu, 19 Feb 2015 09:16:14 -0500 Received: from mail-ie0-f180.google.com ([209.85.223.180]:44183 "EHLO mail-ie0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753701AbbBSOQM (ORCPT ); Thu, 19 Feb 2015 09:16:12 -0500 MIME-Version: 1.0 In-Reply-To: References: <1377686689-30828-1-git-send-email-Sudeep.KarkadaNagesha@arm.com> <1377686689-30828-6-git-send-email-Sudeep.KarkadaNagesha@arm.com> <521DD72D.7070000@arm.com> Date: Thu, 19 Feb 2015 14:16:11 +0000 X-Google-Sender-Auth: 6XLWQA8jmZLJcMX6OnY721a0hP0 Message-ID: Subject: Re: [PATCH v5 5/5] drivers: clocksource: add CPU PM notifier for ARM architected timer From: Sudeep Holla To: Venkappa Mala Cc: open list , linux-arm-kernel@lists.infradead.org, Catalin Marinas , Marc Zyngier , Mark Rutland Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2772 Lines: 73 Hi Venkappa, First of all, please make sure the relevant mailing list(ALKML in this case) and maintainers (MarcZ and Catalin as you are addressing him) are cc-ed, else there's every chance that the mail gets lost. On Thu, Feb 19, 2015 at 1:03 PM, Venkappa Mala wrote: > Sudeep KarkadaNagesha arm.com> writes: > >> >> On 28/08/13 11:44, Sudeep KarkadaNagesha wrote: >> > From: Sudeep KarkadaNagesha arm.com> >> > >> > Few control settings done in architected timer as part of > initialisation >> > can be lost when CPU enters deeper power states. They need to be >> > re-initialised when the CPU is (warm)reset again. >> > >> > This patch adds CPU PM notifiers to do the timer initialisation on > warm >> > resets. It also save the event stream divider value calculated > during >> > cold reset and uses the same in warm reset path. >> > >> Ah, forgot to update the commit log. It's now updated: >> >> Few control settings done in architected timer as part of > initialisation >> can be lost when CPU enters deeper power states. They need to be >> restored when the CPU is (warm)reset again. >> >> This patch adds CPU PM notifiers to save the counter control register >> when entering low power modes and restore it when CPU exits low power. >> >> > Cc: Catalin Marinas arm.com> >> > Reviewed-by: Lorenzo Pieralisi arm.com> >> > Reviewed-by: Will Deacon arm.com> >> > Signed-off-by: Sudeep KarkadaNagesha > arm.com> [...] > Hello Catalin, > > I have noticed this patch merge in > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git > at >= linux-3.13.y branches. > > As part of ARMv7/ARMv8 vDSO experiments, i have tried to enable arch > timer in 3.10 branch but it is failed to boot like > "[1246696886.455361] swapper/0: 0] [c0] [c0] Calibrating delay > loop (skipped), value calculated using timer frequency.. 52.00 BogoMIPS > (lpj=260000)" > due to cntkctl context lost on both armv7/armv8 cases.However, it works > fine when I have pulled the patch to 3.10 branch. > > Perhaps, it will be good to have this patch in 3.10.y (LTS kernel) > branch as well. > is there any potential issue if we merge this patch or is it > intentional? > Are you targeting this on ARM64 platform ? If so, I don't understand how is the arch timer context is lost as the cpuidle driver is not merge to 3.10 stable kernel ? Regards, Sudeep -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/