Re: [BUG cpufreq] Invalid argument on writing to scaling_governor

From: Prarit Bhargava
Date: Fri Aug 01 2014 - 06:46:57 EST




On 08/01/2014 06:43 AM, Fengguang Wu wrote:
> 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
>

Rafael, this patch needs to be rejected based on my previous comments, most
notably Saravana was able to reproduce the original problem. I'm going to wait
for his reproducer and see what I can do.

Thanks,

P.

> 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/