summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-01 22:22:21 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-01 22:22:21 -0400
commitbf63a7dfef0b31c233d21d8f49f81dc40702e9c7 (patch)
tree09c4e1178b2335549ddd7692774001c96d6dd28b /.github/workflows
parentbc4a3de674c1a93030186fc627e05e9a3c81b519 (diff)
downloadopen-iov-bf63a7dfef0b31c233d21d8f49f81dc40702e9c7.tar.gz
open-iov-bf63a7dfef0b31c233d21d8f49f81dc40702e9c7.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 '.github/workflows')
0 files changed, 0 insertions, 0 deletions