diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-01 22:22:21 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-01 22:22:21 -0400 |
| commit | 2cecb0c172375e45ab554a42c0693135238c03ed (patch) | |
| tree | 393179d97eeb617e49b2da02aa284a774d09383f /scripts/check-docs-links.py | |
| parent | aa4cf303dd028b24ca29edbc0a5f3c237ab98e3f (diff) | |
| download | open-iov-2cecb0c172375e45ab554a42c0693135238c03ed.tar.gz open-iov-2cecb0c172375e45ab554a42c0693135238c03ed.zip | |
gsp-phys: mdev-owned backend lifecycle (P1)
Add the gsp_phys_mdev_owned ownership selector (default 0: unchanged
load-time module-owned claim/boot). With 1, module load claims nothing;
the first mdev create starts a refcounted backend session whose
claim+boot runs asynchronously from a work item, so mdev create and
init_work never block. The last mdev remove releases after the emulation
thread is stopped. Failures are fail-open: the backend stays OFF and the
mdev keeps serving the emulation path.
nv_vgpu_exit now gates the session STOPPING under the session lock,
drains the emulation threads via mdev_unregister_driver(), and only then
releases the claim; the module-owned path keeps its previous release
position. A start while STOPPING is refused and a concurrent second
stopper cannot release twice. No forwarding is added.
Diffstat (limited to 'scripts/check-docs-links.py')
0 files changed, 0 insertions, 0 deletions
