Open rootfs opened 1 year ago
Hi @rootfs ,
Please refer to: https://github.com/AmpereComputing/ampere-lts-kernel/wiki/hwmon-drivers and https://github.com/AmpereComputing/ampere-lts-kernel/wiki/5.15-kernel-patches
The altra_hwmon driver is not upstreamed, you might want to build with bellow patches:
hwmon: Add Ampere Altra HW monitor driver hwmon: (altra) restrict energy measurements to root access
If you are testing with 4.18 kernel, here is altra_hwmon driver for 4.18 kernel: https://github.com/AmpereComputing/ampere-centos-kernel/commit/f2e6dee522cc4be9dd094c30dc88273f44d5ffe2
Hi
I am working on Kepler project to measure runtime workload power consumption. I have an Ampere setup running RHEL 8.4.
I can see xgene_hwmon but no altra_hwmon. What is the difference between the two when it comes to power reading? I can see CPU and IO power, but how to get DRAM power?
Thanks!