[PATCH 0/3] cpufreq: Governor start handling unification and cpufreq_resume() cleanup
From: Rafael J. Wysocki
Date: Mon Mar 21 2016 - 10:46:50 EST
Hi,
As per the subject, the following patches unify the handling of governor
start throughout the cpufreq core and clean up the way cpufreq_resume()
deals with policy->cur being out of sync with the real frequency.
[1/3] introduces cpufreq_start_governor() to implement the repeating
governor start code pattern.
[2/3] moves the frequency update code from cpufreq_update_policy() to
a separate function, cpufreq_update_current_freq().
[3/3] makes cpufreq_start_governor() call cpufreq_update_current_freq()
and drops the (super-ugly and racy) piece of code to synchrnonize
the frequency of the boot CPU with its policy->cur.
Thanks,
Rafael