On Fri, Aug 18, 2017 at 11:59:47AM +0530, Viresh Kumar wrote:
On 18 August 2017 at 11:52, Dai Xiang xiangx.dai@intel.com wrote:
Cool, after use this kernel_cmdline, 4\5\6\8 can pass now, but 1\7\9 still can not:
Why do you say that 4/5/6/8 have passed ?
### ### cpufreq_04: ### test the change of the frequency is effective in 'userspace' mode ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/Pm... ###
cpufreq_04: pass
### ### cpufreq_05: ### test 'ondemand' and 'conservative' trigger correctly the configuration directory ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/Pm... ### cpufreq_05.0: checking 'ondemand' directory exists... Ok cpufreq_05.1: checking 'conservative' directory exists... Ok cpufreq_05.2: checking 'ondemand' directory is not there... Ok cpufreq_05.3: checking 'conservative' directory is not there... Ok cpufreq_05.4: checking 'ondemand' directory exists... Ok cpufreq_05.5: checking 'conservative' directory exists... Ok
cpufreq_05: pass
### ### cpufreq_06: ### test the change of the frequencies affect the performances of a test program ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/Pm... ###
cpufreq_06: pass
cpufreq_08: pass
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/cpu2: checking 'scaling_available_frequencies' exists in '/sys/devices/system/cpu/cpu2/cpufreq'... Err cpufreq_01.0/cpu3: checking 'scaling_available_frequencies' exists in '/sys/devices/system/cpu/cpu3/cpufreq'... Err cpufreq_01.0/cpu4: checking 'scaling_available_frequencies' exists in '/sys/devices/system/cpu/cpu4/cpufreq'... Err cpufreq_01.0/cpu5: checking 'scaling_available_frequencies' exists in '/sys/devices/system/cpu/cpu5/cpufreq'... Err cpufreq_01.0/cpu6: checking 'scaling_available_frequencies' exists in '/sys/devices/system/cpu/cpu6/cpufreq'... Err cpufreq_01.0/cpu7: checking 'scaling_available_frequencies' exists in '/sys/devices/system/cpu/cpu7/cpufreq'... Err
cpufreq_01: fail
cpufreq_07.0/cpu0: can not reach a quescient point for 'ondemand'... skip cpufreq_07.0/cpu1: can not reach a quescient point for 'ondemand'... skip cpufreq_07.0/cpu2: can not reach a quescient point for 'ondemand'... skip cpufreq_07.0/cpu3: can not reach a quescient point for 'ondemand'... skip cpufreq_07.0/cpu4: can not reach a quescient point for 'ondemand'... skip IPMI BMC is not supported on this machine, skip bmc-watchdog setup! cpufreq_07.0/cpu5: can not reach a quescient point for 'ondemand'... skip cpufreq_07.0/cpu6: can not reach a quescient point for 'ondemand'... skip cpufreq_07.0/cpu7: can not reach a quescient point for 'ondemand'... skip
cpufreq_07: skip
cpufreq_09.0/cpu0: checking 'powersave' sets frequency to 1600000 KHz... Err cpufreq_09.1/cpu0: checking 'powersave' frequency 1600000 KHz is fixed... Err cpufreq_09.0/cpu1: checking 'powersave' sets frequency to 1600000 KHz... Err cpufreq_09.1/cpu1: checking 'powersave' frequency 1600000 KHz is fixed... Err cpufreq_09.0/cpu2: checking 'powersave' sets frequency to 1600000 KHz... Err cpufreq_09.1/cpu2: checking 'powersave' frequency 1600000 KHz is fixed... Err cpufreq_09.0/cpu3: checking 'powersave' sets frequency to 1600000 KHz... Err cpufreq_09.1/cpu3: checking 'powersave' frequency 1600000 KHz is fixed... Err cpufreq_09.0/cpu4: checking 'powersave' sets frequency to 1600000 KHz... Err cpufreq_09.1/cpu4: checking 'powersave' frequency 1600000 KHz is fixed... Err cpufreq_09.0/cpu5: checking 'powersave' sets frequency to 1600000 KHz... Err cpufreq_09.1/cpu5: checking 'powersave' frequency 1600000 KHz is fixed... Err cpufreq_09.0/cpu6: checking 'powersave' sets frequency to 1600000 KHz... Err cpufreq_09.1/cpu6: checking 'powersave' frequency 1600000 KHz is fixed... Err cpufreq_09.0/cpu7: checking 'powersave' sets frequency to 1600000 KHz... Err cpufreq_09.1/cpu7: checking 'powersave' frequency 1600000 KHz is fixed... Err
I can see all of them fail and the reason is quite simple to see. Even intel-pstate doesn't provide a frequency table and so whatsoever depends on a frequency table will fail.
These tests aren't really meant for x86 stuff, sorry about that :(
So with intel cpu, the 1/7/9 subtests always fail, right? They are not for x86, so which type of cpu or arch can enable them?
-- viresh