]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge tag 'dd-lifetimes-7.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorDanilo Krummrich <dakr@kernel.org>
Thu, 28 May 2026 22:53:14 +0000 (00:53 +0200)
committerDanilo Krummrich <dakr@kernel.org>
Thu, 28 May 2026 22:53:14 +0000 (00:53 +0200)
commita3e50e7279996cd987001fd8a3db36e72665f8f7
treed5abdce1f60809b46565e2f15dd0ede0dea39994
parent9c81596851a342e68ec200f69fc1d5c1dbede289
parentd18f3646184fc805d213fc049fc3b5d9fb9a6a27
Merge tag 'dd-lifetimes-7.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core into drm-rust-next

Higher-Ranked Lifetime Types for Rust device drivers

Replace drvdata() with registration data on the auxiliary bus. Private
data is now scoped to the registration object, removing the ordering
constraints and lifetime complications that came with drvdata().

Add Higher-Ranked Lifetime Types (HRT) so driver structs can borrow
device resources like pci::Bar and IoMem directly, tied to the device
binding scope. This removes the need for Devres indirection and
ARef<Device> in most driver code.

This is a stable tag for other trees to merge.

Signed-off-by: Danilo Krummrich <dakr@kernel.org>
drivers/gpu/drm/nova/driver.rs
drivers/gpu/drm/tyr/driver.rs
drivers/gpu/nova-core/gpu.rs
drivers/gpu/nova-core/nova_core.rs
rust/Makefile