summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2026-09-07 22:50:04 +0200
committerDanilo Krummrich <dakr@kernel.org>2026-09-07 22:50:04 +0200
commitbde0149ce559c67d68cd077970c268c07a0aa139 (patch)
treec1690be85205f0776f95121e6e84651b2026db33 /tools/lib/python
parent6d7e9bc51d8f2d73b3403c759c769f880082f9ae (diff)
parentbed87375f90f44cd2f9fe804a469274127d38593 (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')
0 files changed, 0 insertions, 0 deletions