From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753350AbbCLJWz (ORCPT ); Thu, 12 Mar 2015 05:22:55 -0400 Received: from mail-oi0-f46.google.com ([209.85.218.46]:39431 "EHLO mail-oi0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752235AbbCLJWw (ORCPT ); Thu, 12 Mar 2015 05:22:52 -0400 MIME-Version: 1.0 In-Reply-To: <20150310235912.14952.99786@quantum> References: <1425466152-7867-1-git-send-email-pi-cheng.chen@linaro.org> <20150304112109.GB11010@pengutronix.de> <20150305074207.GC11010@pengutronix.de> <20150310235912.14952.99786@quantum> Date: Thu, 12 Mar 2015 14:52:51 +0530 Message-ID: Subject: Re: [PATCH] clk: mediatek: Export CPU mux clocks for CPU frequency control From: Viresh Kumar To: Mike Turquette , Russell King - ARM Linux Cc: Sascha Hauer , Pi-Cheng Chen , Stephen Boyd , Matthias Brugger , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Henry Chen , James Liao , Chen Fan , Eddie Huang , "Joe.C" , Linux Kernel Mailing List , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , Linaro Kernel Mailman List , linux-mediatek@lists.infradead.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11 March 2015 at 05:29, Mike Turquette wrote: > I assume you are saying that you want to update loops-per-jiffie while > at an intermediate frequency. Why? This operation should not take very > long. > > Imagine a (hypothetical?) processor that changes frequency in many small > steps until it converges to the target rate. Would you want to update > lpj for every step? That's why I have asked Russell specifically about this but haven't got a reply yet. But it looks wrong to me as well now.. Probably we don't need to care about it at all..