diff options
author | Naveen Krishna Chatradhi <nchatrad@amd.com> | 2020-05-19 21:20:09 +0530 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2020-05-22 06:28:38 -0700 |
commit | 8abee9566b7e8eecf566c4daf6be062a27369890 (patch) | |
tree | 28ae7d1c4a26ab068234157fdfb3d177ef912cd5 /lib/mpi/mpiutil.c | |
parent | d06f9e6c8960d1b27245e3fe149c3a32a4894d4b (diff) |
hwmon: Add amd_energy driver to report energy counters
This patch adds hwmon based amd_energy driver support for
family 17h processors from AMD.
The driver provides following interface to the userspace
1. Reports the per core consumption
* file: "energy%d_input", label: "Ecore%03d"
2. Reports per socket energy consumption
* file: "energy%d_input", label: "Esocket%d"
3. To, increase the wrap around time of the socket energy
counters, a 64bit accumultor is implemented.
4. Reports scaled energy value in Joules.
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Naveen Krishna Chatradhi <nchatrad@amd.com>
Link: https://lore.kernel.org/r/20200519155011.56184-1-nchatrad@amd.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions