lkml.org 
[lkml]   [2014]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[cpufreq] 48ed83b84da: scaling_governor write error
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
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
\
 
 \ /
  Last update: 2014-10-17 05:01    [W:0.023 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site