Linux 6.14 With Rust: "We Are Almost At The 'Write A Real Driver In Rust' Stage Now"
([Linux Kernel] 5 Hours Ago
Linux 6.14 Rust)
- Reference: 0001521978
- News link: https://www.phoronix.com/news/Linux-6.14-Driver-Core-Rust
- Source link:
Greg Kroah-Hartman today sent out the pull request of all the driver core updates for Linux 6.14, which ends up being a big deal for those interested in the prospects of Rust drivers for the Linux kernel.
With the Linux 6.13 kernel, Greg Kroah-Hartman described the level of Rust support as [1]a "tipping point" for Rust drivers with more of the Rust infrastructure having been merged. Now for the Linux 6.14 kernel, Greg describes the state of the Rust driver possibilities as " almost at the "write a real driver in rust" stage now, depending on what you want to do. "
As written about last month on Phoronix, as part of today's driver core pull request is [2]a lot of the PCI / platform device driver enablement for Rust code . Greg described the Rust driver core work in [3]the pull request as:
- driver core bindings for PCI, platform, OF, and some i/o functions. We are almost at the "write a real driver in rust" stage now, depending on what you want to do.
- misc device rust bindings and a sample driver to show how to use them
Linus Torvalds [4]merged this code alongside other driver core improvements today for the Linux 6.14 kernel.
We'll see what Linux 6.15 ends up holding in the Rust driver world...
[1] https://www.phoronix.com/news/Linux-6.13-char-misc-More-Rust
[2] https://www.phoronix.com/news/Linux-6.14-Rust-PCI-Device-Drv
[3] https://lore.kernel.org/lkml/Z5kokYUDYEO2Cknj@kroah.com/
[4] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2ab002c755bfa88777e3f2db884d531f3010736c
With the Linux 6.13 kernel, Greg Kroah-Hartman described the level of Rust support as [1]a "tipping point" for Rust drivers with more of the Rust infrastructure having been merged. Now for the Linux 6.14 kernel, Greg describes the state of the Rust driver possibilities as " almost at the "write a real driver in rust" stage now, depending on what you want to do. "
As written about last month on Phoronix, as part of today's driver core pull request is [2]a lot of the PCI / platform device driver enablement for Rust code . Greg described the Rust driver core work in [3]the pull request as:
- driver core bindings for PCI, platform, OF, and some i/o functions. We are almost at the "write a real driver in rust" stage now, depending on what you want to do.
- misc device rust bindings and a sample driver to show how to use them
Linus Torvalds [4]merged this code alongside other driver core improvements today for the Linux 6.14 kernel.
We'll see what Linux 6.15 ends up holding in the Rust driver world...
[1] https://www.phoronix.com/news/Linux-6.13-char-misc-More-Rust
[2] https://www.phoronix.com/news/Linux-6.14-Rust-PCI-Device-Drv
[3] https://lore.kernel.org/lkml/Z5kokYUDYEO2Cknj@kroah.com/
[4] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2ab002c755bfa88777e3f2db884d531f3010736c
bosslog