Re: [PATCH v5 00/24] rust: device: Higher-Ranked Lifetime Types for device drivers
From: Danilo Krummrich
Date: Wed May 27 2026 - 17:28:35 EST
On Mon, 25 May 2026 22:20:47 +0200, Danilo Krummrich wrote:
> [PATCH v5 00/24] rust: device: Higher-Ranked Lifetime Types for device drivers
Applied, thanks!
Branch: topic/dd-lifetimes
Tree: git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git
[1/24] rust: pci: use 'static lifetime for PCI BAR resource names
commit: e566a9e17f37
[2/24] rust: alloc: remove `'static` bound on `ForeignOwnable`
commit: e9df918d61e0
[3/24] rust: driver: move 'static bounds to constructor
commit: c8a43666bade
[4/24] rust: driver: decouple driver private data from driver type
commit: 7fdffdda630e
[5/24] rust: driver core: drop drvdata before devres release
commit: be31fcf5af75
[6/24] rust: pci: implement Sync for Device<Bound>
commit: 0b9a29c3a4e2
[7/24] rust: platform: implement Sync for Device<Bound>
commit: a89111c00b68
[8/24] rust: auxiliary: implement Sync for Device<Bound>
commit: 5bbcefe8db74
[9/24] rust: usb: implement Sync for Device<Bound>
commit: 3bb1655192ae
[10/24] rust: device: implement Sync for Device<Bound>
commit: de12e48a1be3
[11/24] rust: device: make Core and CoreInternal lifetime-parameterized
commit: 24799831d631
[12/24] rust: pci: make Driver trait lifetime-parameterized
commit: 16c2b8fdab7c
[13/24] rust: platform: make Driver trait lifetime-parameterized
commit: 81fdc7881443
[14/24] rust: auxiliary: make Driver trait lifetime-parameterized
commit: 46f651d88662
[15/24] rust: usb: make Driver trait lifetime-parameterized
commit: a3f09f8e47c4
[16/24] rust: i2c: make Driver trait lifetime-parameterized
commit: 71e6b6a80b51
[17/24] rust: driver: update module documentation for GAT-based Data type
commit: d31a349a7fd8
[18/24] rust: pci: make Bar lifetime-parameterized
commit: 8ea0b6d5bef5
[19/24] rust: io: make IoMem and ExclusiveIoMem lifetime-parameterized
commit: 89f55d04c602
[20/24] samples: rust: rust_driver_pci: use HRT lifetime for Bar
commit: e397d405c4c6
[21/24] gpu: nova-core: separate driver type from driver data
commit: bb1cf43f2fa8
[22/24] rust: types: add `ForLt` trait for higher-ranked lifetime support
commit: e189bdb687a5
[ Handle macro_rules! invocations in the ForLt! proc macro's covariance
and WF checks. Since proc macros cannot expand macro_rules!, add a
visit_macro() implementation to conservatively assume macro
invocations may contain lifetimes, forcing them through the
compiler-assisted covariance proof.
Fix a few typos in the documentation and in the commit message, add
empty lines before samples, add missing periods and consistently use
markdown.
- Danilo ]
[23/24] rust: auxiliary: generalize Registration over ForLt
commit: 4555291ddae9
[ Use PhantomData<F::Of<'a>> instead of
PhantomData<(fn(&'a ()) -> &'a (), F)>], which also gets us rid of
#[allow(clippy::type_complexity)]. - Danilo ]
[24/24] samples: rust: rust_driver_auxiliary: showcase lifetime-bound registration data
commit: d18f3646184f
The patches are in the topic/dd-lifetimes topic branch and will be merged into
the corresponding target branch soon.