On Fri, Aug 18, 2017 at 09:42:19AM +0530, Viresh Kumar wrote:
> On 18 August 2017 at 08:33, Dai Xiang <xiangx....@intel.com> wrote:
> > Hi!
> >
> > I test with below two cpu to test:
> > - Intel(R) Xeon(R) CPU E7-8890 v4 @ 2.20GHz
> > - Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
> >
> > With below action:
> > make -C cpuidle cpuidle_killer
> > make -C cpufreq run_tests
> >
> > And only cpufreq_02 and cpufreq_03 can pass.
> > Log as below(ignore pass part):
> >
> > make: Entering directory '/lkp/benchmarks/pm-qa/cpufreq'
> > ###
> > ### cpufreq_01:
> > ### test the cpufreq framework is available for frequency
> > ### 
> > https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#cpufreq_01
> > ###
> > cpufreq_01.0/cpu0: checking 'scaling_available_frequencies' exists in 
> > '/sys/devices/system/cpu/cpu0/cpufreq'... Err
> > cpufreq_01.0/cpu1: checking 'scaling_available_frequencies' exists in 
> > '/sys/devices/system/cpu/cpu1/cpufreq'... Err
> > cpufreq_01.0/cpu10: checking 'scaling_available_frequencies' exists in 
> > '/sys/devices/system/cpu/cpu10/cpufreq'... Err
> >
> > ###
> > ### cpufreq_04:
> > ### test the change of the frequency is effective in 'userspace' mode
> > ### 
> > https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#cpufreq_04
> > ###
> > cpufreq_04.0: userspace not supported...                                    
> > skip
> >
> > cpufreq_04: skip
> >
> > ###
> > ### cpufreq_05:
> > ### test 'ondemand' and 'conservative' trigger correctly the configuration 
> > directory
> > ### 
> > https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#cpufreq_05
> > ###
> > cpufreq_05.0: ondemand not supported...                                     
> > skip
> > cpufreq_05.1: conservative not supported...                                 
> > skip
> > cpufreq_05.2: userspace not supported...                                    
> > skip
> > cpufreq_05.3: checking 'ondemand' directory exists...                       
> > Err
> > cpufreq_05.4: checking 'conservative' directory exists...                   
> > Err
> 
> Your platform must be using acpi-cpufreq driver, check with this:
> 
> $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
> 
> And that driver doesn't allow/support other cpufreq governors and so these
> tests aren't supposed to be run on Intel platform.
> 
> See if you can use intel_pstate driver instead in "passive" mode.
In fact, i has used intel_pstate driver:
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
intel_pstate

And i try to echo into /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor 
like ondemand, but do not help.

Need i do some setting to enable those tests?

Thanks
Xiang
> 
> --
> viresh
_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to