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.
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: Drop redundant check for inactive policies
drivers/cpufreq/cpufreq.c | 95 +++++--------------------------------- drivers/cpufreq/cpufreq_governor.c | 20 ++------ include/linux/cpufreq.h | 5 -- 3 files changed, 16 insertions(+), 104 deletions(-)