summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/gsp_phys_booter.c14
1 files changed, 12 insertions, 2 deletions
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 {