Rust Bindings Are Being Worked On For Linux CPUFreq Drivers

Written by Michael Larabel in Hardware on 7 April 2024 at 06:56 AM EDT. 29 Comments
HARDWARE
One of the latest areas being worked on for enabling Rust programming language use within the Linux kernel is for CPU frequency "CPUFreq" scaling drivers.

Linaro engineer Viresh Kumar posted a set of patches on Friday for an initial request for comments on providing Rust bindings for CPUFreq and Operating Performance Points (OPP). With these bindings he's created rcpufreq-dt, a Rust version of the CPUFreq DeviceTree driver. The cpufreq-dq/rcpufreq-dt is a generic platform agnostic Device Tree based CPUFreq driver used mostly in the ARM world.

While these Rust bindings for CPUFreq are working and enough to get an initial driver created, the Rust code in turn depends upon a number of other bindings for the Rust Linux kernel code that have yet to be upstreamed. So it still may be a while before Rust comes to the CPUFreq space in the upstream Linux kernel but in any event it's the latest subsystem now seeing Rust binding activity.

Rust for Linux logo


Those interested in the RFC work for Rust bindings to the CPUFreq subsystem can find the patches on the Rust-For-Linux mailing list.
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