From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Stultz Subject: Re: [PATCH] ARM: sched_clock: Load cycle count after epoch stabilizes Date: Mon, 17 Jun 2013 14:50:03 -0700 Message-ID: <51BF848B.2030501@linaro.org> References: <1371082214-1119-1-git-send-email-sboyd@codeaurora.org> <51BF68DC.5030804@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pb0-f49.google.com ([209.85.160.49]:38930 "EHLO mail-pb0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750929Ab3FQVuG (ORCPT ); Mon, 17 Jun 2013 17:50:06 -0400 Received: by mail-pb0-f49.google.com with SMTP id jt11so3178097pbb.22 for ; Mon, 17 Jun 2013 14:50:05 -0700 (PDT) In-Reply-To: <51BF68DC.5030804@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Stephen Boyd Cc: Russell King , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org On 06/17/2013 12:51 PM, Stephen Boyd wrote: > John, > > I just saw your pull request for making this code generic. I believe > this patch fixes a bug that nobody has seen in practice so it's probably > fine to delay this until 3.11. > > Also, I've just noticed that "ARM: sched_clock: Return suspended count > earlier" that I sent in that series is going to break the arm > architected timer path because they're circumventing all this epoch_ns > code. It would be better if you could replace that patch with this patch > because this optimizes it in the same way and also fixes a bug at the > same time. Sorry, could you clarify a bit more? The above sounds like there are two issues, but you only sent one patch. I'm also not sure how to proceed with the patch you sent, since it collides with the patch that moves sched_clock to be generic. Could you refactor the change on-top of git branch I sent to Thomas? Otherwise I'll have to withdraw the pull request, and we'll probably miss 3.11 for the generic sched_clock change. thanks -john