Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751709AbbGIXoV (ORCPT ); Thu, 9 Jul 2015 19:44:21 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:51127 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751198AbbGIXoN (ORCPT ); Thu, 9 Jul 2015 19:44:13 -0400 From: "Rafael J. Wysocki" To: Viresh Kumar Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, rui.zhang@intel.com, edubezval@gmail.com, javi.merino@arm.com, Pi-Cheng Chen , open list Subject: Re: [PATCH] cpufreq: Allow accessing freq_table for offline CPUs Date: Fri, 10 Jul 2015 02:10:43 +0200 Message-ID: <1701322.hsK9gPMk5I@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.1.0-rc5+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20150709051356.GK1805@linux> References: <2953689.ETebrTym45@vostro.rjw.lan> <20150709051356.GK1805@linux> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit 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: 905 Lines: 25 On Thursday, July 09, 2015 10:43:56 AM Viresh Kumar wrote: > On 09-07-15, 02:40, Rafael J. Wysocki wrote: > > The above sentence is completely unclear to anyone unfamiliar with the > > code in question. > > > > The fix is to access the policy data structure for the given CPU directly > > (which also returns a valid policy for offline CPUs), but the policy > > itself has to be active (meaning that at least one CPU using it is online) > > for the frequency table to be returned. > > > > Right? > > Yeah.. Applied with minor tweaks to the subject & changelog, thanks! -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center. -- 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/