* 48ed83b84da: scaling_governor write error
@ 2014-10-17 2:25 Fengguang Wu
0 siblings, 0 replies; only message in thread
From: Fengguang Wu @ 2014-10-17 2:25 UTC (permalink / raw)
To: Viresh Kumar; +Cc: LKML, lkp, cpufreq@vger.kernel.org
[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]
Hi Viresh,
FYI, our test script is broken by a commit from you:
https://git.linaro.org/people/vireshk/linux cpufreq/governor-fixes
commit 48ed83b84da331d010c5bd10b9d2f72d5308bddd ("cpufreq: Track governor-state to disallow invalid state requests")
ee46f1592843a04d 48ed83b84da331d010c5bd10b9
---------------- --------------------------
fail:runs %reproduction fail:runs
| | |
:5 100% 5:5 TOTAL stderr./lkp/lkp/src/setup/cpufreq_governor:line#:echo:write_error:Invalid_argument
The error messages are:
/lkp/wfg/src/setup/cpufreq_governor: line 9: echo: write error: Device or resource busy
/lkp/wfg/src/setup/cpufreq_governor: line 9: echo: write error: Device or resource busy
/lkp/wfg/src/setup/cpufreq_governor: line 9: echo: write error: Device or resource busy
where the cpufreq_governor script is
#!/bin/bash
scaling_governor=$1
[[ $scaling_governor ]] || exit 0
for file in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
do
note "echo $scaling_governor > $file"
==> echo $scaling_governor > $file
done
Thanks,
Fengguang
[-- Attachment #2: reproduce --]
[-- Type: text/plain, Size: 292 bytes --]
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-10-17 2:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-17 2:25 48ed83b84da: scaling_governor write error Fengguang Wu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox