hwmon drivers - AmpereComputing/ampere-lts-kernel---DEPRECATED GitHub Wiki
In LTS 5.4 and 5.10 kernel, there are two HW monitor drivers:
# lsmod | grep hwmon
xgene_hwmon 327680 0
altra_hwmon 262144 0
To check the sensor value:
# yum install lm_sensors
# sensors
altra_hwmon-isa-0000
Adapter: ISA adapter
SoC Temp 000: +40.0°C
Core Energy 000: 230.12 J
Core Energy 001: 186.07 J
Core Energy 002: 186.76 J
Core Energy 003: 186.85 J
Core Energy 004: 185.66 J
[... ...]
xgene_hwmon
# sensors apm_xgene-*
apm_xgene-isa-0000
Adapter: ISA adapter
SoC Temperature: +40.0°C
CPU power: 14.76 W
IO power: 31.07 W
apm_xgene-isa-0000
Adapter: ISA adapter
SoC Temperature: +52.0°C
CPU power: 28.08 W
IO power: 31.10 W
altra_hwmon
# sensors altra_hwmon-*
altra_hwmon-isa-0000
Adapter: ISA adapter
SoC Temp 000: +40.0°C
Core Energy 000: 545.28 J
Core Energy 001: 415.85 J
Core Energy 002: 415.97 J
Core Energy 003: 416.73 J
Core Energy 004: 414.74 J
Core Energy 005: 414.74 J
[...]