Beyond the main set of Rust changes to land in Linux 6.19 earlier this week, as we near the end of the first week of two for the Linux 6.19 merge window… More Rust changes. This time around the driver core updates for the kernel bring a number of Rust changes.
Danilo Krummrich on Friday sent out all of the driver core changes for Linux 6.19. As has been common in recent kernel cycles, a lot of the driver core activity is around bringing up Rust kernel driver support. Some of the Rust changes via this tree include improving auxiliary device driver support, support for binary large objects with DebugFS, improved device probe handling, various I/O and PCI improvements, and other low-level enhancements.
It’s also via this tree that support for I2C drivers written in Rust is now supported. This merge included the Rust I2C sample driver code and other infrastructure.
Aside from all the Rust happenings, the driver core code also introduces /sys/devices/system/cpu/housekeeping. This new housekeeping sysfs file will expose the selected houstkeeping CPUs in this uniform and reliable manner.
The list of logical CPUs that are designated as the kernel’s “houseleeping” CPUs are now reliably exposed to user-space here for knowing what cores are handling the system-wide background tasks. Previously there wasn’t a really nice and clean way of knowing from user-space what were the housekeeping CPUs.
More details on the driver core changes for Linux 6.19 via this Git merge.
