summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_phys_booter.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/gsp_phys_booter.c')
-rw-r--r--kernel/gsp_phys_booter.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/gsp_phys_booter.c b/kernel/gsp_phys_booter.c
index 751f680..0e319c1 100644
--- a/kernel/gsp_phys_booter.c
+++ b/kernel/gsp_phys_booter.c
@@ -25191,6 +25191,21 @@ if (gsp_phys_gr_slot_kept(j, sa_mask,
(unsigned long long)req->push_va);
}
mme_hold_calls = false;
+ /*
+ * eng89o: the pack just completed, so the channel now
+ * holds the resident program and this launch's CALL
+ * runs may execute. A stale STREAM-DAMAGE record from
+ * an earlier dropped chunk of the same push must not
+ * re-hold them (c995: REARM at 32646.745, the damage
+ * branch re-set the hold 1 ms later). Clear the record
+ * and the local verdict for this launch.
+ */
+ gsp_phys_gr_stream_damage_clear(req->push_va);
+ stream_damaged = false;
+ if (pack_rearm_log <= 8u)
+ pr_info("vgsp-gr: STREAM-DAMAGE-CLEAR h=0x%x push=0x%llx (pack rearm; stale damage dropped)\n",
+ req->h_object,
+ (unsigned long long)req->push_va);
}
/*
* r1487 STREAM-DAMAGE: an earlier chunk of this same push was