AMD's Carrizo Gets Accumulated Power Reporting In Linux 4.7
The hwmon subsystem updates were mailed in this morning for the Linux 4.7 kernel merge window and contains a notable addition to the fam15h_power driver.
With Linux's fam15h_power driver for power consumption reporting on AMD Family 15h processors, there is now accumulated power reporting for Carrizo and newer.
The work by AMD's Huang Rui implements support for reporting the average power consumption of the processor. The code reads the delta value of the core power accumulator register on supported hardware. There is a configurable entry with this driver to change the interval of reading the average power use. The accumulated power reporting is exposed via standard interfaces for tools like sensors and reports the average CPU power consumption in uWatts.
More details on the functionality can be found via this documentation patch.
The hwmon pull request for Linux 4.7 in full can be read via this LKML post. Aside from the AMD power driver work, there is also a major rework to the it87 driver, a new driver for MAX31722/MAX31723 temperature sensors, and minor fixes to other existing drivers.
With Linux's fam15h_power driver for power consumption reporting on AMD Family 15h processors, there is now accumulated power reporting for Carrizo and newer.
The work by AMD's Huang Rui implements support for reporting the average power consumption of the processor. The code reads the delta value of the core power accumulator register on supported hardware. There is a configurable entry with this driver to change the interval of reading the average power use. The accumulated power reporting is exposed via standard interfaces for tools like sensors and reports the average CPU power consumption in uWatts.
More details on the functionality can be found via this documentation patch.
The hwmon pull request for Linux 4.7 in full can be read via this LKML post. Aside from the AMD power driver work, there is also a major rework to the it87 driver, a new driver for MAX31722/MAX31723 temperature sensors, and minor fixes to other existing drivers.
2 Comments