diff options
| author | Danilo Krummrich <dakr@kernel.org> | 2026-09-07 22:50:04 +0200 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-09-07 22:50:04 +0200 |
| commit | bde0149ce559c67d68cd077970c268c07a0aa139 (patch) | |
| tree | c1690be85205f0776f95121e6e84651b2026db33 /tools/lib/python/kdoc | |
| parent | 6d7e9bc51d8f2d73b3403c759c769f880082f9ae (diff) | |
| parent | bed87375f90f44cd2f9fe804a469274127d38593 (diff) | |
Merge patch series "rust: dma: tie DMA allocations to the device's bound lifetime"
Danilo Krummrich <dakr@kernel.org> says:
DMA allocations carry device resources (e.g. IOMMU mappings) that must
not outlive the device's bound lifetime. Add lifetime parameters to the
DMA allocation types (Coherent, CoherentBox, CoherentHandle) to enforce
at compile time that they are freed before the device is unbound.
Since DMA types with lifetime parameters are exposed through debugfs in
the nova-core driver, first drop the unnecessary T: 'static bound from
the debugfs ScopedDir file creation methods by formalizing a type
invariant on FileOps.
Link: https://patch.msgid.link/20260830193824.471089-1-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
