Re: [PATCH V3 1/2] cpufreq: Allow light-weight tear down and bring up of CPUs

2019-02-12 Thread Rafael J. Wysocki
On Tue, Feb 12, 2019 at 11:47 AM Viresh Kumar wrote: > [cut] > @@ -2488,7 +2505,8 @@ int cpufreq_register_driver(struct cpufreq_driver > *driver_data) > driver_data->target) || > (driver_data->setpolicy && (driver_data->target_index || > driv

[PATCH V3 1/2] cpufreq: Allow light-weight tear down and bring up of CPUs

2019-02-12 Thread Viresh Kumar
The cpufreq core doesn't remove the cpufreq policy anymore on CPU offline operation, rather that happens when the CPU device gets unregistered from the kernel. This allows faster recovery when the CPU comes back online. This is also very useful during system wide suspend/resume where we offline all