All of lore.kernel.org
 help / color / mirror / Atom feed
* [cpufreq] 48ed83b84da: scaling_governor write error
@ 2014-10-17  2:25 ` Fengguang Wu
  0 siblings, 0 replies; 3+ messages in thread
From: Fengguang Wu @ 2014-10-17  2:25 UTC (permalink / raw)
  To: Viresh Kumar; +Cc: LKML, lkp, cpufreq

[-- 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] 3+ messages in thread

* [cpufreq] 48ed83b84da: scaling_governor write error
@ 2014-10-17  2:25 ` Fengguang Wu
  0 siblings, 0 replies; 3+ messages in thread
From: Fengguang Wu @ 2014-10-17  2:25 UTC (permalink / raw)
  To: lkp

[-- Attachment #1: Type: text/plain, Size: 1243 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.ksh --]
[-- 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] 3+ messages in thread

* 48ed83b84da: scaling_governor write error
@ 2014-10-17  2:25 ` Fengguang Wu
  0 siblings, 0 replies; 3+ messages in thread
From: Fengguang Wu @ 2014-10-17  2:25 UTC (permalink / raw)
  To: Viresh Kumar; +Cc: LKML, lkp, cpufreq

[-- 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] 3+ messages in thread

end of thread, other threads:[~2014-10-17  2:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-17  2:25 [cpufreq] 48ed83b84da: scaling_governor write error Fengguang Wu
2014-10-17  2:25 ` Fengguang Wu
2014-10-17  2:25 ` [cpufreq] " Fengguang Wu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.