Resolve "Multiple Physical CPU Temps not available"
Bug Fix
What does this MR do?
This MR improved handling of multiple physical CPUs.
For AMD it associates the first hwmon device with the first physical cpu, and the second, and so forth. This assumption is made because there appears to be an issue in the hwmon kernel driver for amd and a verified match cannot be made.
For Intel the hwmon device comes with a package id in the temp name, which makes a direct association between the hwmon device and the physical cpu.
Related issues
Fixes #116 (closed)
Fixes #129 (closed)
Checklist
-
Application works as expected when running from source -
There are dependency changes -
Liquidctl device mock tests are successful (if applicable) -
Any needed documentation changes have been made -
This MR is ready to be merged
Edited by Guy Boldon