On 5 September 2017 at 03:01, Xiang Dai <xiangx....@intel.com> wrote: > Hi! > > I test with below two cpu to test: > - Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz > > With below action: > make -C cpuidle cpuidle_killer > make -C thermal run_tests > > It shows several thermal zone and cooling device on my machine. > But there will be following err in the test suite. And need your help > > 1. in thermal_01: > There is not 'mode' exists in > '/sys/devices/virtual/thermal/thermal_zone0'. Is this caused by hw or > drives? Or may I change kernel config to meet it?
Not sure, but mode is an optional thermal zone attribute. > 2. in thermal_03 and thermal_06: > It will says glmark2 not found... It seems my machine doesn't have > some devices or features. I want to know which kind of machine could meet > the need. You need the glmark2 binary. Clone this repository and follow the instructions to build: https://github.com/glmark2/glmark2 and try running the thermal_03 and thermal_06 test again. > 3. in thermal_04: > there will be err when checking colling devices with > "effective cool=-1000". It looks like an illegal value passed in. > If it could be OK on some other machine. It should be caused by some feature > of my machine. Could we abandon some case by pass some parameter in? I don't know any case where a negative value would be valid. The smallest acceptable value for a cooling state is 0. > 4. in thermal_05: > can't find cpufreq in colling devices. Could this fixed by some > operation on kernel? This particular test was created and run with the generic DT based cpufreq driver enabled on arm, so I don't know if there is something equivalent for x86. > the log shows below. Thanks for your help. > > ``` > make: Entering directory '/lkp/benchmarks/pm-qa/thermal' > ### > ### thermal_00: > ### list existing thermal-zones and cooling-devices in the system > ### > https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#thermal_00 > ### > Thermal Zone list > ----------------- > thermal_zone0 > - x86_pkg_temp > thermal_zone1 > - x86_pkg_temp > > > Cooling Device list > ------------------- > cooling_device0 > - Processor > cooling_device1 > - Processor > cooling_device10 > - Processor > cooling_device11 > - Processor > ... > > ### > ### thermal_01: > ### test/verify the thermal zone files are present in the sysfs and check > the validity of the mode field, bindings and trip temperatures > ### > https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#thermal_01 > ### > thermal_01.0: checking 'mode' exists in > '/sys/devices/virtual/thermal/thermal_zone0'... Err > thermal_01.0: checking 'mode' exists in > '/sys/devices/virtual/thermal/thermal_zone1'... Err > thermal_01.0: checking thermal_zone0 cur_mode=... Err > thermal_01.0: checking thermal_zone1 cur_mode=... Err > thermal_01.1: checking 'trip_point_0_temp' exists in > '/sys/devices/virtual/thermal/thermal_zone0'... Ok > thermal_01.2: checking 'trip_point_0_type' exists in > '/sys/devices/virtual/thermal/thermal_zone0'... Ok > thermal_01.3: checking 'thermal_zone0'/'trip_point_0_temp' ='0'... Err > thermal_01.4: checking 'trip_point_1_temp' exists in > '/sys/devices/virtual/thermal/thermal_zone0'... Ok > thermal_01.5: checking 'trip_point_1_type' exists in > '/sys/devices/virtual/thermal/thermal_zone0'... Ok > thermal_01.6: checking 'thermal_zone0'/'trip_point_1_temp' ='0'... Err > thermal_01.7: checking 'trip_point_0_temp' exists in > '/sys/devices/virtual/thermal/thermal_zone1'... Ok > thermal_01.8: checking 'trip_point_0_type' exists in > '/sys/devices/virtual/thermal/thermal_zone1'... Ok > thermal_01.9: checking 'thermal_zone1'/'trip_point_0_temp' ='0'... Err > thermal_01.10: checking 'trip_point_1_temp' exists in > '/sys/devices/virtual/thermal/thermal_zone1'... Ok > thermal_01.11: checking 'trip_point_1_type' exists in > '/sys/devices/virtual/thermal/thermal_zone1'... Ok > checking thermal_01.12: checking 'thermal_zone1'/'trip_point_1_temp' ='0'... > Err > > > ... > thermal_02: pass > > ### > ### thermal_03: > ### test/verify that temperature is increasing/decreasing as the load is > increased/decreased > ### > https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#thermal_03 > ### > thermal_03.0: glmark2 not found... skip > > thermal_03: skip > > ### > ### thermal_04: > ### test/verify the cooling device are lowering the temperature down > ### > https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#thermal_04 > ### > thermal_04.0: checking cooling_device0:state=1 effective cool=-2000 ... > Err > thermal_04.1: checking cooling_device0:state=2 effective cool=1000 ... Ok > thermal_04.2: checking cooling_device0:state=3 effective cool=3000 ... Ok > thermal_04.3: checking cooling_device0:state=4 effective cool=3000 ... Ok > thermal_04.4: checking cooling_device0:state=5 effective cool=3000 ... Ok > thermal_04.5: checking cooling_device0:state=6 effective cool=4000 ... Ok > thermal_04.6: checking cooling_device0:state=7 effective cool=3000 ... Ok > thermal_04.7: checking cooling_device0:state=8 effective cool=4000 ... Ok > thermal_04.8: checking cooling_device0:state=9 effective cool=4000 ... Ok > thermal_04.9: checking cooling_device0:state=10 effective cool=5000 ... > Ok > thermal_04.0: checking cooling_device1:state=1 effective cool=-1000 ... > Err > thermal_04.1: checking cooling_device1:state=2 effective cool=3000 ... Ok > thermal_04.2: checking cooling_device1:state=3 effective cool=5000 ... Ok > thermal_04.3: checking cooling_device1:state=4 effective cool=3000 ... Ok > thermal_04.4: checking cooling_device1:state=5 effective cool=4000 ... Ok > thermal_04.5: checking cooling_device1:state=6 effective cool=4000 ... Ok > thermal_04.6: checking cooling_device1:state=7 effective cool=4000 ... Ok > thermal_04.7: checking cooling_device1:state=8 effective cool=5000 ... Ok > thermal_04.8: checking cooling_device1:state=9 effective cool=4000 ... Ok > thermal_04.9: checking cooling_device1:state=10 effective cool=4000 ... > Ok > thermal_04.0: checking cooling_device10:state=1 effective cool=-2000 ... > Err > thermal_04.1: checking cooling_device10:state=2 effective cool=3000 ... > Ok > thermal_04.2: checking cooling_device10:state=3 effective cool=5000 ... > Ok > thermal_04.3: checking cooling_device10:state=4 effective cool=6000 ... > Ok > thermal_04.4: checking cooling_device10:state=5 effective cool=5000 ... > Ok > thermal_04.5: checking cooling_device10:state=6 effective cool=4000 ... > Ok > thermal_04.6: checking cooling_device10:state=7 effective cool=3000 ... > Ok > thermal_04.7: checking cooling_device10:state=8 effective cool=3000 ... > Ok > thermal_04.8: checking cooling_device10:state=9 effective cool=4000 ... > Ok > thermal_04.9: checking cooling_device10:state=10 effective cool=4000 ... > Ok > thermal_04.0: checking cooling_device11:state=1 effective cool=-2000 ... > Err > ... > ### > ### thermal_05: > ### test/verify the cpufreq cooling device are clipping the frequencies > ### > https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#thermal_05 > ### > thermal_05.0: Cannot find cpufreq in cooling_device0...... skip > thermal_05.0: Cannot find cpufreq in cooling_device1...... skip > thermal_05.0: Cannot find cpufreq in cooling_device2...... skip > thermal_05.0: Cannot find cpufreq in cooling_device3...... skip > thermal_05.0: Cannot find cpufreq in cooling_device4...... skip > > thermal_05: skip > > ### > ### thermal_06: > ### test/verify that different trip points are crossed when load is maximum > ### > https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification#thermal_06 > ### > thermal_06.0: glmark2 not found... skip > > thermal_06: skip > > > > Thanks > Xiang > _______________________________________________ > linaro-dev mailing list > linaro-dev@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/linaro-dev _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-dev