[PATCH] cpufreq: powernv: Register the driver with reboot notifier

Viresh Kumar viresh.kumar at linaro.org
Mon Aug 25 20:30:45 EST 2014


On 22 August 2014 08:18, Preeti U Murthy <preeti at linux.vnet.ibm.com> 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!!


More information about the Linuxppc-dev mailing list