Rafael,
This is in response to the other thread where you and Saravana were discussing this. It doesn't allow updating policy for offline CPUs yet, but does cleanup the sysfs stuff.
This is untested by me as I didn't had access to the hardware to test this week. But this is tested by Fengguang's build bot for some time now.
Will be good if one of you can test this out.
V1->V2: - Change log updated for the first patch - One patch already applied and the last one is a new patch based on Saravana's comments. - Reviewed-by tags from Saravana.
Viresh Kumar (5): cpufreq: Use cpumask_copy instead of cpumask_or to copy a mask cpufreq: create cpu/cpufreq at boot time cpufreq: remove cpufreq_sysfs_{create|remove}_file() cpufreq: create cpu/cpufreq/policyX directories cpufreq: postfix policy directory with the first CPU in related_cpus
drivers/cpufreq/cpufreq.c | 103 +++++++------------------------------ drivers/cpufreq/cpufreq_governor.c | 20 ++----- include/linux/cpufreq.h | 5 -- 3 files changed, 24 insertions(+), 104 deletions(-)