Comment 0 for bug 2054391

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

[Impact]
Some CPU sensors are not enumerated, this can make thermald deviates from the correct behavior of the CPU TDP.

[Fix]
Traverse all sensors under hwmon sysfs directory to make sure everything is enumerated.

[Test]
Check the output of thermald. Once the fix is in place, thermal zones that are previously omitted now shows up:
[INFO]Zone 1: AMBF, Active:1 Bind:1 Sensor_cnt:1

[Where problems could occur]
Since the new logic traverse the whole hwmon sysfs, the startup time can take slightly longer.