AMD's Carrizo Gets Accumulated Power Reporting In Linux 4.7

Written by Michael Larabel in Hardware on 16 May 2016 at 10:29 AM EDT. 2 Comments
HARDWARE
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.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week