[PATCH V3] cpufreq: Restore policy min/max limits on CPU online

2017-03-21 Thread Viresh Kumar
On CPU online the cpufreq core restores the previous governor (or the previous "policy" setting for ->setpolicy drivers), but it does not restore the min/max limits at the same time, which is confusing, inconsistent and real pain for users who set the limits and then suspend/resume the system

[PATCH V3] cpufreq: Restore policy min/max limits on CPU online

2017-03-21 Thread Viresh Kumar
On CPU online the cpufreq core restores the previous governor (or the previous "policy" setting for ->setpolicy drivers), but it does not restore the min/max limits at the same time, which is confusing, inconsistent and real pain for users who set the limits and then suspend/resume the system