Re: [PATCH v2 1/2] cpufreq: Add exit_prepare callback to cpufreq_driver interface

2014-03-17 Thread Viresh Kumar
On Sat, Mar 15, 2014 at 7:34 AM, Rafael J. Wysocki wrote: > On Friday, March 14, 2014 02:03:56 PM dirk.brande...@gmail.com wrote: >> +++ b/drivers/cpufreq/cpufreq.c >> @@ -1338,6 +1338,9 @@ static int __cpufreq_remove_dev_prepare(struct device >> *dev, >> } >> } >> >> + i

Re: [PATCH v2 1/2] cpufreq: Add exit_prepare callback to cpufreq_driver interface

2014-03-14 Thread Rafael J. Wysocki
On Friday, March 14, 2014 02:03:56 PM dirk.brande...@gmail.com wrote: > From: Dirk Brandewie > > This callback allows the driver to do clean up before the CPU is > completely down and its state cannot be modified. This is used > by the intel_pstate driver to reduce the requested P state prior to

[PATCH v2 1/2] cpufreq: Add exit_prepare callback to cpufreq_driver interface

2014-03-14 Thread dirk . brandewie
From: Dirk Brandewie This callback allows the driver to do clean up before the CPU is completely down and its state cannot be modified. This is used by the intel_pstate driver to reduce the requested P state prior to the core going away. This is required because the requested P state of the off