From mboxrd@z Thu Jan 1 00:00:00 1970 From: Preeti U Murthy Subject: Re: [PATCH 2/2] powernv/cpufreq: Set the pstate of the last hotplugged out cpu in policy->cpus to minimum Date: Fri, 05 Sep 2014 12:48:30 +0530 Message-ID: <540963C6.8010702@linux.vnet.ibm.com> References: <20140905065952.2831.66731.stgit@preeti.in.ibm.com> <20140905070134.2831.8175.stgit@preeti.in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from e9.ny.us.ibm.com ([32.97.182.139]:47250 "EHLO e9.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751688AbaIEHSl (ORCPT ); Fri, 5 Sep 2014 03:18:41 -0400 Received: from /spool/local by e9.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 5 Sep 2014 03:18:40 -0400 In-Reply-To: Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Viresh Kumar Cc: "Rafael J. Wysocki" , "linux-pm@vger.kernel.org" , Dirk Brandewie , Shreyas Prabhu , Linux Kernel Mailing List , Patrick Marlier , Dirk Brandewie , Vaidyanathan Srinivasan On 09/05/2014 12:37 PM, Viresh Kumar wrote: > On 5 September 2014 12:31, Preeti U Murthy wrote: > >> + smp_call_function_any(policy->cpus, set_pstate, &freq_data, 1); > > We will surely have a single CPU alive at this point, so should we call > this function on policy->cpu directly ? > Yes that is better. Let me send out an updated version of this patch. Regards Preeti U Murthy