On 2105.10.11 10:21 Viresh Kumar wrote:
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(-)
-- 2.4.0
For my part of it, this patch set fixes the user space regression that was introduced into the pm-utils with kernel 4.2. If it ends up merged, I'll go back and cancel the bug reports I submitted.
References (mainly for myself): https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1493156 https://bugs.freedesktop.org/show_bug.cgi?id=91914