From mboxrd@z Thu Jan 1 00:00:00 1970 From: Javi Merino Subject: Re: [PATCH V2 2/6] cpufreq: Remove cpufreq_frequency_get_table() Date: Thu, 2 Jun 2016 19:02:50 +0100 Message-ID: <20160602180250.GC2966@e104805> References: <13d43ddfe208a9b387fe0fd247de069ba0332308.1464876229.git.viresh.kumar@linaro.org> <20160602145903.GA2966@e104805> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from foss.arm.com ([217.140.101.70]:47116 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932324AbcFBSCz (ORCPT ); Thu, 2 Jun 2016 14:02:55 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Viresh Kumar Cc: Rafael Wysocki , Amit Daniel Kachhap , Zhang Rui , Eduardo Valentin , Linaro Kernel Mailman List , "linux-pm@vger.kernel.org" , Linux Kernel Mailing List On Thu, Jun 02, 2016 at 09:06:26PM +0530, Viresh Kumar wrote: > On 2 June 2016 at 20:29, Javi Merino wrote: > > In 5a31d594a973 ("cpufreq: Allow freq_table to be obtained for offline > > CPUs") you did the opposite: don't use cpufreq_cpu_get_raw() because > > it won't give you the policy of a cpu that is offline. Now you are > > arguing that we should go back to cpufreq_cpu_get() which implicitly > > calls cpufreq_cpu_get_raw(). Won't we hit the same issue that > > 5a31d594a973 was trying to prevent: that we can't get a freq_table for > > a cpu that is offline? > > Yes, that should be fixed. Thanks for letting me know about it :) Ok, that was my only nit. Other than that, it looks good to me. For cpu_cooling.c Acked-by: Javi Merino