[BUG cpufreq] Invalid argument on writing to scaling_governor

From: Fengguang Wu
Date: Fri Aug 01 2014 - 06:43:40 EST


Hi Prarit,

I noticed that commit dbcbfe6aa0d61ae5e13cab43b30802482007c199 ("cpufreq: hold
policy->rwsem for duration of changing governors") will cause this problem:

root@nhm4 ~# echo performance > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
-bash: echo: write error: Invalid argument

root@nhm4 ~# cat /sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors
conservative userspace powersave ondemand performance

Thanks,
Fengguang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/