Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935686AbcCQLd5 (ORCPT ); Thu, 17 Mar 2016 07:33:57 -0400 Received: from foss.arm.com ([217.140.101.70]:47694 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935430AbcCQLdw (ORCPT ); Thu, 17 Mar 2016 07:33:52 -0400 Date: Thu, 17 Mar 2016 11:35:07 +0000 From: Juri Lelli To: "Rafael J. Wysocki" Cc: Linux PM list , Steve Muckle , ACPI Devel Maling List , Linux Kernel Mailing List , Peter Zijlstra , Srinivas Pandruvada , Viresh Kumar , Vincent Guittot , Michael Turquette , Ingo Molnar Subject: Re: [PATCH v5 6/7][Update] cpufreq: Support for fast frequency switching Message-ID: <20160317113507.GH18212@e106622-lin> References: <2495375.dFbdlAZmA6@vostro.rjw.lan> <4088601.C2vItRYpQn@vostro.rjw.lan> <1711281.bPmSjlBT7c@vostro.rjw.lan> <4785370.no59v8qjgi@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4785370.no59v8qjgi@vostro.rjw.lan> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 754 Lines: 28 Hi, On 17/03/16 00:51, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > Subject: [PATCH] cpufreq: Support for fast frequency switching > [...] > +void cpufreq_enable_fast_switch(struct cpufreq_policy *policy) > +{ > + lockdep_assert_held(&policy->rwsem); > + > + mutex_lock(&cpufreq_fast_switch_lock); > + if (policy->fast_switch_possible && cpufreq_fast_switch_count >= 0) { > + cpufreq_fast_switch_count++; > + policy->fast_switch_enabled = true; > + } else { > + pr_warn("cpufreq: CPU%u: Fast freqnency switching not enabled\n", Ultra-minor nit: s/freqnency/frequency/ Also, is this really a warning or just a debug message? (everything seems to work fine on Juno even if this is printed :-)). Best, - Juri