summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2026-05-26 00:58:29 +0200
committerDanilo Krummrich <dakr@kernel.org>2026-05-29 02:07:58 +0200
commit88b70f5a05afabe6e176469919986282225036ee (patch)
treeee3d3fd14b8701cb16946ab5f84df9acfd762c6d /include/linux/debugobjects.h
parenta3e50e7279996cd987001fd8a3db36e72665f8f7 (diff)
gpu: nova-core: use lifetime for Bar
Take advantage of the lifetime-parameterized pci::Bar<'bound> to hold the BAR mapping directly in NovaCore<'bound>, and pass a borrowed reference to Gpu<'bound>. This eliminates the Arc<Devres<Bar0>> indirection, removes runtime revocation checks for BAR access, and simplifies Gpu::unbind(). Reviewed-by: Eliot Courtney <ecourtney@nvidia.com> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Tested-by: Alexandre Courbot <acourbot@nvidia.com> Link: https://patch.msgid.link/20260525225838.276108-2-dakr@kernel.org Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions