From 5aa59b04d8fefa4720070bfbb2612d1ea7db7ec8 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Tue, 6 Oct 2026 15:42:21 -0400 Subject: vgsp: gate mode 31 on golden replay + physical backend (SA-CHK F1 fix) --- kernel/gsp_phys_booter.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kernel/gsp_phys_booter.c b/kernel/gsp_phys_booter.c index dc8e641..e7a16b9 100644 --- a/kernel/gsp_phys_booter.c +++ b/kernel/gsp_phys_booter.c @@ -12173,6 +12173,11 @@ static int gsp_phys_rmcall_stage3(void __iomem *bar0) */ if (boot_stage.rmcall_gr_promote == GSP_PHYS_RMCALL_GR_PROMOTE_GOLDEN_SIBLING_COMMIT) { + if (!gsp_phys_rmcall_golden_enabled() || + !gsp_phys_gpu_enabled()) { + pr_err("vgsp-boot: rm-call: mode 31 requires gsp_phys_rmcall_golden=1 and gsp_phys_gpu=1 (the golden replay did not run); sibling A is not allocated and no promote is sent; the ladder aborts with no retry\n"); + return -EINVAL; + } ret = gsp_phys_rmcall_golden_sibling_alloc(bar0); if (ret) { pr_err("vgsp-boot: rm-call: mode 31 sibling A commit failed (%d); no V6 promote follows; the ladder aborts with no retry\n", -- cgit v1.2.3