VOOZH about

URL: https://www.phoronix.com/news/Linux-6.16-Rust-CPUFreq-Binding

⇱ Rust Abstractions For CPUFreq Prepped For Linux 6.16 - Phoronix


👁 Phoronix

Rust Abstractions For CPUFreq Prepped For Linux 6.16

Written by Michael Larabel in Programming on 20 May 2025 at 05:32 AM EDT. 10 Comments
More Rust programming language abstractions are on the way for the upcoming Linux 6.16 cycle to allow for more areas where Rust-based drivers can be created for the kernel.

Viresh Kumar sent out the CPUFreq ARM updates today ahead of the Linux 6.16 merge window opening as soon as next week. Notable with this pull request is adding new Rust abstractions around these CPU frequency scaling / power management code.

Rust abstractions have been submitted for the CPUFreq framework as well as for the Operating Performance Points (OPP) framework used by various Arm SoCs for frequency and voltage pairs that the device will support per domain. In addition to Rust support for CPUFreq and OPP, there are also basic Rust abstractions added for the clock "clk" and Cpumask frameworks.

These CPUFreq Rust abstractions were worked on for the past year and now seemingly in good enough shape and at a consensus for going to the mainline kernel.

This pull request on the way to the Linux power management tree is what introduces those new Rust abstractions.

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.