diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-11-16 05:43:18 -0500 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-11-16 05:43:18 -0500 |
| commit | f4ade16e3a73c309881f3e6bed096575d9098a8b (patch) | |
| tree | 91d834709bfd6ab97ba1e0d5e75639bfcb8fda1a /kernel/gsp_sema_service.c | |
| parent | f9bf5744ef204aba57ee5cdfb96ffcc00e2678d9 (diff) | |
| download | open-iov-f4ade16e3a73c309881f3e6bed096575d9098a8b.tar.gz open-iov-f4ade16e3a73c309881f3e6bed096575d9098a8b.zip | |
vgsp: eng86 - pack carrier self-candidate (fire without a client launch)
CONT.545/c880: the armed pack carrier (MME-CARRY-ARM gen=3 off=1506/2799)
never fired because the pump needs a matching CLIENT beef candidate and
the 2-frame mission ended before one re-appeared; it expired with no
FIRE/CANCEL/WAIT receipt. The pump's carry block now, when there is no
candidate but the channel's golden pack is still contiguously loaded
(gsp_phys_gr_mme_carry_ctx_alive: pack_load_h==carry_h && golden ready),
submits svc_gr_carrier_request() as its own synthetic candidate
(MME-CARRY-FIRE reason=self-candidate). A truly gone context is
reported MME-CARRY-CANCEL reason=ctx-gone, never silent. Release stays
beef-only; the eng68 chain still runs after the carrier fire (pack
complete -> release replay -> mac=0x22).
Diffstat (limited to 'kernel/gsp_sema_service.c')
| -rw-r--r-- | kernel/gsp_sema_service.c | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/kernel/gsp_sema_service.c b/kernel/gsp_sema_service.c index 4cd2eca..f094d2b 100644 --- a/kernel/gsp_sema_service.c +++ b/kernel/gsp_sema_service.c @@ -50350,10 +50350,36 @@ static void svc_pump_channels(struct nv_vgpu_device *vgpu) * An armed carrier that is due but cannot go out names * its blocker (c781: it sat armed until the beef * channel unregistered, with no receipt at all). + * + * CONT 546: when there is no client candidate but the + * channel's golden pack is still loaded, submit the + * carrier as its own synthetic candidate instead of + * letting it expire silently (c880: ARM gen=3, no + * FIRE/CANCEL/WAIT because the 2-frame mission ended + * before a client launch re-appeared). A truly gone + * context is reported as ctx-gone, never silent. */ - if (why) - pr_info_ratelimited("vgsp-gr: MME-CARRY-WAIT reason=%s h=0x%x\n", - why, carry_h); + if (why) { + if (!strcmp(why, "no-channel") && + gsp_phys_gr_mme_carry_ctx_alive(carry_h)) { + static struct svc_channel synth; + + memset(&synth, 0, sizeof(synth)); + synth.h_object = carry_h; + if (svc_gr_carrier_request(vgpu, &synth, + false)) + pr_info("vgsp-gr: MME-CARRY-FIRE reason=self-candidate h=0x%x\n", + carry_h); + else + pr_info_ratelimited("vgsp-gr: MME-CARRY-WAIT reason=self-busy h=0x%x\n", + carry_h); + } else if (!strcmp(why, "no-channel")) { + gsp_phys_gr_mme_carry_cancel("ctx-gone"); + } else { + pr_info_ratelimited("vgsp-gr: MME-CARRY-WAIT reason=%s h=0x%x\n", + why, carry_h); + } + } } } |
