News: 0001514424

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

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

([Linux Kernel] 9 Hours Ago Linux 6.14 Rust Device Drivers)


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 [1]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 [2]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.

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

The [4]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.



[1] https://www.phoronix.com/search/Linux+6.14

[2] https://www.phoronix.com/news/Linux-6.13-char-misc-More-Rust

[3] https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/log/?h=driver-core-next

[4] https://lore.kernel.org/all/20241219170425.12036-1-dakr@kernel.org/



pWe00Iri3e7Z9lHOX2Qx

dumb ways to code

CommunityMember

Weasel

kpedersen

Volta

Veto

dragon321

And he climbed with the lad up the Eiffelberg Tower. "This," cried the Mayor,
"is your town's darkest hour! The time for all Whos who have blood that is red
to come to the aid of their country!" he said. "We've GOT to make noises in
greater amounts! So, open your mouth, lad! For every voice counts!" Thus he
spoke as he climbed. When they got to the top, the lad cleared his throat and
he shouted out, "YOPP!"
And that Yopp... That one last small, extra Yopp put it over!
Finally, at last! From the speck on that clover their voices were heard!
They rang out clear and clean. And they elephant smiled. "Do you see what
I mean?" They've proved they ARE persons, no matter how small. And their
whole world was saved by the smallest of All!"
"How true! Yes, how true," said the big kangaroo. "And, from now
on, you know what I'm planning to do? From now on, I'm going to protect
them with you!" And the young kangaroo in her pouch said, "ME TOO! From
the sun in the summer. From rain when it's fall-ish, I'm going to protect
them. No matter how small-ish!"
-- Dr. Seuss "Horton Hears a Who"