From: Fengguang Wu <fengguang.wu@intel.com>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
lkp@01.org, "cpufreq@vger.kernel.org" <cpufreq@vger.kernel.org>
Subject: [cpufreq] 48ed83b84da: scaling_governor write error
Date: Fri, 17 Oct 2014 10:25:47 +0800 [thread overview]
Message-ID: <20141017022547.GA8005@wfg-t540p.sh.intel.com> (raw)
[-- 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
reply other threads:[~2014-10-17 2:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141017022547.GA8005@wfg-t540p.sh.intel.com \
--to=fengguang.wu@intel.com \
--cc=cpufreq@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@01.org \
--cc=viresh.kumar@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®