Re: [PATCH v2] cpufreq: suspend cpufreq governors on shutdown

2015-01-29 Thread Rafael J. Wysocki
On Monday, December 29, 2014 09:45:42 AM Viresh Kumar wrote: > On 24 December 2014 at 11:39, Doug Anderson wrote: > > We should stop cpufreq governors when we shut down the system. If we > > don't do this, we can end up with this deadlock: > > > > 1. cpufreq governor may be running on a CPU other

Re: [PATCH v2] cpufreq: suspend cpufreq governors on shutdown

2014-12-28 Thread Viresh Kumar
On 24 December 2014 at 11:39, Doug Anderson wrote: > We should stop cpufreq governors when we shut down the system. If we > don't do this, we can end up with this deadlock: > > 1. cpufreq governor may be running on a CPU other than CPU0. > 2. In machine_restart() we call smp_send_stop() which sto

[PATCH v2] cpufreq: suspend cpufreq governors on shutdown

2014-12-23 Thread Doug Anderson
We should stop cpufreq governors when we shut down the system. If we don't do this, we can end up with this deadlock: 1. cpufreq governor may be running on a CPU other than CPU0. 2. In machine_restart() we call smp_send_stop() which stops CPUs. If one of these CPUs was actively running a cpufr