diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-06 15:42:21 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-06 15:42:21 -0400 |
| commit | 5aa59b04d8fefa4720070bfbb2612d1ea7db7ec8 (patch) | |
| tree | 310131f381838aecd562d6f178341bc1fec88ed9 /kernel | |
| parent | c15be05319e00d0818d78d6fdf908e27f19c659f (diff) | |
| download | open-iov-5aa59b04d8fefa4720070bfbb2612d1ea7db7ec8.tar.gz open-iov-5aa59b04d8fefa4720070bfbb2612d1ea7db7ec8.zip | |
vgsp: gate mode 31 on golden replay + physical backend (SA-CHK F1 fix)
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/gsp_phys_booter.c | 5 |
1 files changed, 5 insertions, 0 deletions
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", |
