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

ykzhao
2009-07-24T05:18:30Z

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.
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