Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757491Ab3DWQez (ORCPT ); Tue, 23 Apr 2013 12:34:55 -0400 Received: from wolverine02.qualcomm.com ([199.106.114.251]:37931 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756920Ab3DWQew (ORCPT ); Tue, 23 Apr 2013 12:34:52 -0400 X-IronPort-AV: E=Sophos;i="4.87,534,1363158000"; d="scan'208";a="40841898" Message-ID: <5176B82A.9070003@codeaurora.org> Date: Tue, 23 Apr 2013 09:34:50 -0700 From: Stephen Boyd User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Rob Herring CC: John Stultz , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Russell King , arm@kernel.org, Catalin Marinas , Will Deacon , Thomas Gleixner Subject: Re: [PATCH 0/4] ARM 64 bit sched_clock take #2 References: <51709FD7.8050408@gmail.com> <1366417746-24990-1-git-send-email-sboyd@codeaurora.org> <51756CB6.5060607@linaro.org> <5175A1B8.1090202@gmail.com> In-Reply-To: <5175A1B8.1090202@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1678 Lines: 34 On 04/22/13 13:46, Rob Herring wrote: > On 04/22/2013 12:00 PM, John Stultz wrote: >> On 04/19/2013 05:29 PM, Stephen Boyd wrote: >>> This is what I was thinking. I don't see why we can't move this to >>> generic code and have arm64 use it too. Those patches will follow once >>> I find an arm64 >>> compiler. >> I think moving this to generic code sounds like a good idea. You could >> probably also prototype and test the 64bit code with x86_64, using the >> TSC counter. > I agree this should all be common, but I'd like to see the common > version first. That is not going to make it for 3.10. For 3.10, the > immediate need is to fix suspend and initial time for the arch timer. I > think this should be fixed locally in arch timer code for 3.10. The > alternative is to revert linux-next commit 023796b9be3a77481cd5 (ARM: > arch_timer: use full 64-bit counter for sched_clock) which will cause > the arch timer to not be used as sched_clock if another higher frequency > sched_clock is registered. This would make sense to me if we were already in the 3.10-rc1 or rc2 phase, but this code isn't even in Linus' tree yet. Why can't we just fix it properly before sending off to Linus? Obviously this is up to the maintainers to decide, so if we can't fix it properly with this patch series I propose we revert like you say. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation -- 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/