AMD Posts New Linux Patches Enabling Dynamic Boost Control

Written by Michael Larabel in AMD on 20 April 2023 at 02:30 PM EDT. 11 Comments
AMD
A new patch series from AMD today for the Linux kernel enables Dynamic Boost Control support that can be found with some Ryzen SoCs for tuning the processor for optimal performance.

Mario Limonciello of AMD's Linux client team who has been working on many new AMD Linux features and fixes the past two years sent out today's patches for enabling Dynamic Boost Control under Linux via their AMD Cryptographic CoProcessor (CCP) / Platform Security Processor driver.

Mario explained in today's patches:
"Dynamic boost control is a feature of some SoCs that allows an authenticated entity to send commands to the security processor to control certain SOC characteristics with the intention to improve performance.

This is implemented via a mechanism that a userspace application would authenticate using a nonce and key exchange over an IOCTL interface.

After authentication is complete an application can exchange signed messages with the security processor and both ends can validate the data transmitted.

This series includes a test suite that can be run on real hardware to ensure that the communication works as expected. This can also be used for an application to model the communication path.

Two sysfs files are introduced for reading the PSP bootloader version as well as TEE version which can be useful data points for debugging communication problems."

Dynamic Boost Control with capable Ryzen SoCs can read and set various frequency/power limits. However, only software authenticated with the AMD PSP is able to read/set these limits. Among the AMD Dynamic Boost Control parameters are around the power cap, frequency capping, and graphics power mode. There are more query parameters too for items like SoC power minimum, frequency max inimum, and current temperature -- some of which data is already available through alternative interfaces on Linux.

AMD Ryzen 7000 series CPUs


Once this AMD Dynamic Boost Control (DBC) support lands, it will be exposed to (authenticated) userspace via a new /dev/dbc device. See the patch series for more information on the AMD Dynamic Boost Control support for Linux.
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