From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756962AbbCCPdr (ORCPT ); Tue, 3 Mar 2015 10:33:47 -0500 Received: from service87.mimecast.com ([91.220.42.44]:43263 "EHLO service87.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756756AbbCCPdo convert rfc822-to-8bit (ORCPT ); Tue, 3 Mar 2015 10:33:44 -0500 Message-ID: <54F5D457.30706@arm.com> Date: Tue, 03 Mar 2015 15:33:43 +0000 From: Sudeep Holla User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Viresh Kumar CC: Sudeep Holla , Kapileshwar Singh , Javi Merino , Eduardo Valentin , Zhang Rui , Linux PM list , "linux-kernel@vger.kernel.org" , Punit Agrawal , Lina Iyer , Mark Brown , Jon Medhurst Subject: Re: [PATCH v3 5/5] thermal: cpu_cooling: update the cpu device when cpufreq updates the policy cpu References: <1425316643-31991-1-git-send-email-javi.merino@arm.com> <1425316643-31991-6-git-send-email-javi.merino@arm.com> <54F5941F.6030402@arm.com> <54F59DEF.3020700@arm.com> <54F5CEBC.1070303@arm.com> In-Reply-To: X-OriginalArrivalTime: 03 Mar 2015 15:33:40.0887 (UTC) FILETIME=[6CF93A70:01D055C7] X-MC-Unique: 115030315334203801 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/03/15 15:30, Viresh Kumar wrote: > On 3 March 2015 at 20:56, Sudeep Holla wrote: >> You can use any_online_cpu(..) instead of cpumask_any IMO > > What about policy->cpu ? :) > We can, was not sure if they have access to policy in their thermal driver. Just the first thought seeing one line of the code posted :) Regards, Sudeep