Linux cpupower Utility To See Improved AMD Support With Linux 6.14 Kernel

Written by Michael Larabel in AMD on 12 January 2025 at 06:31 AM EST. 3 Comments
AMD
The cpupower utility lives within the Linux kernel source tree and for the upcoming Linux 6.14 kernel will see better reporting capabilities on modern AMD Ryzen and EPYC processors.

This past week saw the batch of cpupower utility updates submitted to the Linux kernel's power management subsystem staging area ahead of the Linux 6.14 merge window. This time around there are a number of AMD support enhancements.

AMD CPU with cpupower background


The cpupower tool can now support displaying the AMD P-State preferred core rankings, fixing amd-pstate specific printouts, better support for displaying enabled/disabled strings, not reading the frequency from the processor when the kernel uses aperfmperf, support for showing the energy performance preference (EPP), and not fetching the maximum latency when EPP is enabled. The improvements to cpupower were submitted by AMD Linux engineer Mario Limonciello.

The highlights overall for cpupower in Linux 6.14 include:
Several fixes, cleanups and AMD support enhancements:

- fix TSC MHz calculation
- Add install and uninstall options to bindings makefile
- Add header changes for cpufreq.h to SWIG bindings
- selftests/cpufreq: gitignore output files and clean them in make clean
- Remove spurious return statement
- Add support for parsing 'enabled' or 'disabled' strings from table
- Add support for amd-pstate preferred core rankings
- Don't try to read frequency from hardware when kernel uses aperf mperf
- Add support for showing energy performance preference
- Don't fetch maximum latency when EPP is enabled
- Adjust whitespace for amd-pstate specific prints
- Fix cross compilation
- revise is_valid flag handling for idle_monitor

All the details for those interested within this pull request.
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