Re: [Patch] CPUFREQ: Add the suspend/resume flag to avoid smp_call in cpufreq_suspend/resume

ykzhao
2009-07-28T01:39:54Z

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 <yakui.zhao@intel.com>
> >
> > 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 <yakui.zhao@intel.com>
> > Tested-by: Christian Casteyde<casteyde.christian@free.fr>
>
> All this goes away if we just made that suspend/resume code
> conditional on powerpc as previously discussed.
Hi, Dave
Will you please point out what we should do to fix the issue son x86
similar to that on powerpc?

Is the patch mentioned already shipped in upstream kernel?

thanks.
>
> We don't need any of it on x86 afaict
>
> Dave