summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-11-16 12:51:26 -0500
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-11-16 12:51:26 -0500
commit4e888f4d153644e71e4887678c16e15abbbeb905 (patch)
tree0f09beffbd3eefdd8a54bc8a4b265aec2d68d59b
parentcb008b85887e40dafa273929c29945fed25f2bfa (diff)
downloadopen-iov-4e888f4d153644e71e4887678c16e15abbbeb905.tar.gz
open-iov-4e888f4d153644e71e4887678c16e15abbbeb905.zip
vgsp: eng89f - RT-ADMIT-BLOCK receipt; cap the mission wait
The receipt prints state_push/rt_valid/rt0_first/rtp/mask/pchan/has_draw at the beef draw-synth reject, so the next boot names which of the five conjoined admission predicates failed. Runner: wait at most GZ_SECS+120 for mission-done (the mission itself writes it by GZ_SECS+30 when the guest is alive; a dead boot no longer costs 7.5 minutes).
-rw-r--r--kernel/gsp_sema_service.c20
-rwxr-xr-xtools/guest-diag/run_cycles_long.sh2
2 files changed, 21 insertions, 1 deletions
diff --git a/kernel/gsp_sema_service.c b/kernel/gsp_sema_service.c
index dc4792d..1487f86 100644
--- a/kernel/gsp_sema_service.c
+++ b/kernel/gsp_sema_service.c
@@ -13516,6 +13516,26 @@ static void svc_gl_flush(struct nv_vgpu_device *vgpu,
* is not a usable C597 RT (see the clause above). */
if (svc_gl_mark_log < 64) {
svc_gl_mark_log++;
+ /*
+ * eng89f: name the five conjoined predicates so a
+ * reject says WHICH one failed (state-push class,
+ * per-window last/first bind, persisted mask and
+ * its channel, draw-marker guard).
+ */
+ pr_info("sema-gl: RT-ADMIT-BLOCK h=0x%x start=0x%x at=0x%x win=%u state_push=%d rt_valid=%d rt0_first=%d rtp=%d mask=0x%x pchan=0x%llx has_draw=%d\n",
+ ch->h_object, svc_gl.start_off, at_off,
+ at_off > svc_gl.start_off ?
+ (at_off - svc_gl.start_off) / 4u : 0u,
+ svc_gl_window_state_push(buf, len,
+ svc_gl.start_off),
+ svc_gl_window_rt_valid(buf, len,
+ svc_gl.start_off, at_off),
+ svc_gl_window_rt_first_valid(buf, len,
+ svc_gl.start_off, at_off),
+ READ_ONCE(svc_gl_rtp),
+ READ_ONCE(svc_gl_rtp_mask),
+ (unsigned long long)READ_ONCE(svc_gl_rtp_chan),
+ svc_gl_win_has_draw(buf, len));
pr_info("sema-gl: 3D mark rejected (beef draw-synth: no valid last colour-target bind) h=0x%x push=0x%llx win=%u words @off=0x%x\n",
ch->h_object, push_va,
at_off > svc_gl.start_off ?
diff --git a/tools/guest-diag/run_cycles_long.sh b/tools/guest-diag/run_cycles_long.sh
index 479c49d..153be03 100755
--- a/tools/guest-diag/run_cycles_long.sh
+++ b/tools/guest-diag/run_cycles_long.sh
@@ -97,7 +97,7 @@ for TAG in "$@"; do
fi
gexec 30 "rm -f /tmp/mission-done; nohup env GZ_SECS=$GZ_SECS GLF_FRAMES=$GLF_FRAMES bash /tmp/mission-gz.sh >/tmp/mission-run.log 2>&1 & echo MISSION_STARTED" >/dev/null
- WAITMAX=$(( (GZ_SECS + 300) / 5 ))
+ WAITMAX=$(( (GZ_SECS + 120) / 5 ))
DONE=""
for i in $(seq 1 "$WAITMAX"); do
if ! pgrep -f qemu-system-x86_64 >/dev/null; then