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_phys_booter.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_phys_booter.c')
| -rw-r--r-- | kernel/gsp_phys_booter.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/kernel/gsp_phys_booter.c b/kernel/gsp_phys_booter.c index 10d40c6..0072fe1 100644 --- a/kernel/gsp_phys_booter.c +++ b/kernel/gsp_phys_booter.c @@ -18869,6 +18869,23 @@ bool gsp_phys_gr_mme_carry_peek(u32 *h_object) } /* + * Is the carrier's channel context still alive for a self-candidate launch? + * + * CONT 546: the armed carrier normally waits for a matching CLIENT beef + * candidate in the pump pass; when the guest's 2-frame mission ends before + * one re-appears (c880: ARM gen=3, no FIRE/CANCEL/WAIT), the carrier + * expired silently. The pump may instead submit the carrier as its own + * synthetic candidate when the channel's golden pack is still contiguously + * loaded there. This probe is that gate: the pack load handle must still be + * the carrier's channel (a gone context is then reported, never silent). + */ +bool gsp_phys_gr_mme_carry_ctx_alive(u32 h_object) +{ + return READ_ONCE(gsp_phys_gr_mme_pack_load_h) == h_object && + gsp_phys_gr_golden_ready(); +} + +/* * Claim the armed carrier for one launch. The live state is re-validated * here, not at arm time: the pack must still be partial for this channel, * still loaded contiguously from word 0 on it, and the golden overlay must |
