Re: [PATCH] cpufreq: powernv: Register the driver with reboot notifier
From: Viresh Kumar <viresh.kumar@linaro.org>
Date: 2014-08-25 10:30:47
Also in:
linux-pm, lkml
From: Viresh Kumar <viresh.kumar@linaro.org>
Date: 2014-08-25 10:30:47
Also in:
linux-pm, lkml
On 22 August 2014 08:18, Preeti U Murthy [off-list ref] wrote:
At the moment this looks like the best way forward. We need to do this cleanly by ensuring that we stop the governors and then call into the driver to deal with the cpu frequency in its own way during reboot. The best way to do this would be by calling this routine. Either this or cpufreq_suspend() should be called in the reboot path generically. The latter might not be an enticing option for other platforms.
Its not that I am doubting if this will work or not. But this Hack is using routines not meant for this purpose. And that being a core routine, things aren't that straightforward anymore. @Rafael: Ping!!