Linux 6.14 Looks To Land Rust PCI / Platform Device Driver Support

Written by Michael Larabel in Linux Kernel on 23 December 2024 at 09:30 AM EST. 37 Comments
LINUX KERNEL
The patch series in the works for a while to provide the necessary kernel abstractions for the Rust programming language to actually implement real device drivers looks like it will finally premiere in the Linux 6.14 kernel cycle.

The Rust abstractions within the Linux kernel have been a long time coming and with each new kernel release new subsystems and functionality are introduced. In the current Linux 6.13 cycle the Rust drivers hit a "tipping point" with more drivers coming on the horizon and indeed it looks like more Rust code will land for Linux 6.14.

A rusty graphics card / PCIe adapter


Being queued over the weekend within the driver-core.git's driver-core-next branch overseen by Greg Kroah-Hartman is the latest Rust patch series.

Rust PCI platform patches queued


The v7 patch series providing the device / driver / PCI platform Rust abstractions is set to be merged for Linux 6.14 if all goes well now that the code has reached driver-core-next.

These patches are needed by the in-development NOVA kernel driver for the open-source NVIDIA GSP-using kernel graphics driver being worked on by Red Hat, the Rust NVMe driver, and other real drivers to come. Plus these patches themselves introduce new sample Rust drivers for demonstrating PCI and platform use too.

So barring any last minute objections that would see the patches being dropped from driver-core-next or rejected by Linus Torvalds, look for this Rust code enabling new PCI and platform drivers to be written in the Rust programming language to be added to the upcoming Linux 6.14 kernel.
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