From mboxrd@z Thu Jan 1 00:00:00 1970 From: ykzhao Subject: Re: [Patch] CPUFREQ: Add the suspend/resume flag to avoid smp_call in cpufreq_suspend/resume Date: Fri, 24 Jul 2009 13:18:59 +0800 Message-ID: <1248412739.3556.52.camel@localhost.localdomain> References: <1248399463.3556.30.camel@localhost.localdomain> <20090724014918.GA8854@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com ([134.134.136.20]:63467 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750883AbZGXFSa (ORCPT ); Fri, 24 Jul 2009 01:18:30 -0400 In-Reply-To: <20090724014918.GA8854@redhat.com> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Dave Jones Cc: "cpufreq@vger.kernel.org" , "linux-acpi@vger.kernel.org" On Fri, 2009-07-24 at 09:49 +0800, Dave Jones wrote: > On Fri, Jul 24, 2009 at 09:37:43AM +0800, ykzhao wrote: > > Subject: [CPUFREQ]: Add the suspend/resume flag to avoid smp_call in cpufreq_suspend/resume > > From: Zhao Yakui > > > > Only CPU0 is available in course of cpufreq_suspend/resume. > > So it is unnecessary to do the smp_call for getting the current > > cpufreq. > > > > Add a flag of suspend/resume to avoid the smp_call in course of > > cpufreq_suspend/resume. > > > > http://bugzilla.kernel.org/show_bug.cgi?id=13781 > > http://bugzilla.kernel.org/show_bug.cgi?id=13269 > > > > Signed-off-by: Zhao Yakui > > Tested-by: Christian Casteyde > > All this goes away if we just made that suspend/resume code > conditional on powerpc as previously discussed. Do you mean that this issue exists on powerpc platform? How to resolve this issue on the Powerpc according to the discussion? Where can I get the patch? thanks. > > We don't need any of it on x86 afaict > > Dave