From ffa7e59600ea22a282afa910d0aa2158a41c9ef3 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Mon, 16 Nov 2026 16:29:05 -0500 Subject: vgsp: eng89l - latch the synthetic golden prelude Every c970-c977 launch logged 'MME-PRELUDE copy raced an append (gen 1196248389->0); will re-emit next launch': the seqcheck compares the capture generation before/after the copy, and the synthetic golden gen can never match the empty capture's 0, so the prelude latch never set, the IRAM gate never verified, the carriers stayed load-only and no CALL/SA release could run - despite MME-GOLDEN overlay maxa=2799 and a complete pack. Accept the latch when g0 is the synthetic golden generation (the golden image is immutable and pl_n==0, so there is nothing to race). --- kernel/gsp_phys_booter.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'kernel') diff --git a/kernel/gsp_phys_booter.c b/kernel/gsp_phys_booter.c index 4913401..25d0c35 100644 --- a/kernel/gsp_phys_booter.c +++ b/kernel/gsp_phys_booter.c @@ -24810,7 +24810,17 @@ if (gsp_phys_gr_slot_kept(j, sa_mask, /* seqcheck: a mid-copy append must not be recorded as * emitted (the copy may be a torn prefix). */ gsp_sema_mme_prelude_get(NULL, &g1); - if (pre_done && g1 == g0) { + /* + * eng89l: the synthetic golden generation has no + * capture to race with (pl_n==0); the golden image is + * immutable, so accept the latch. Without this every + * launch logged 'copy raced an append (gen MMEG->0)' + * and the pack never latched, the IRAM gate never + * verified and the carriers stayed load-only + * (c970-c977), even though the 2799-word golden pack + * was built. + */ + if (pre_done && (g1 == g0 || g0 == 0x474d4d45u)) { WRITE_ONCE(gsp_phys_gr_mme_prelude_gen, g0); WRITE_ONCE(gsp_phys_gr_mme_prelude_h, req->h_object); @@ -24857,7 +24867,7 @@ if (gsp_phys_gr_slot_kept(j, sa_mask, sj, sa_ent[sj], gsp_sema_mme_ir_covered(sa_ent[sj])); } - } else if (pre_done) { + } else if (pre_done && g0 != 0x474d4d45u) { pr_info("vgsp-gr: MME-PRELUDE copy raced an append (gen %u->%u); will re-emit next launch\n", g0, g1); } else { -- cgit v1.2.3