diff options
Diffstat (limited to 'kernel/gsp_phys_booter.c')
| -rw-r--r-- | kernel/gsp_phys_booter.c | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/kernel/gsp_phys_booter.c b/kernel/gsp_phys_booter.c index 589bb60..6723070 100644 --- a/kernel/gsp_phys_booter.c +++ b/kernel/gsp_phys_booter.c @@ -23665,7 +23665,20 @@ if (gsp_phys_gr_slot_kept(j, sa_mask, } } - if (READ_ONCE(gsp_phys_rmcall_gr_mme_prelude)) { + /* + * The MME prelude/golden pack is the 3D beef client's macro + * program. Other lanes (compute 0xbfef.., X 0x1000013.., + * module 0xbeef0100 setup) never carry an MME-IR upload and + * must not have the golden body installed on their launch: + * c1030's CUDA compute channel 0xbfef0002 executed the + * synthetic mac=0xf1/pc=513 body, poisoned the MME + * (badf1201) and wedged the GR front-end, so the kernel's + * QMD never retired and the guest hung in D state. Gate the + * whole prelude/overlay/CALL-resolution machinery to the + * beef family. + */ + if (READ_ONCE(gsp_phys_rmcall_gr_mme_prelude) && + (req->h_object & 0xfffff000u) == 0xbeef0000u) { pl = gsp_sema_mme_prelude_get(&pl_n, &pl_gen); /* * eng89k: the beef client's MME upload is absent on @@ -26166,7 +26179,8 @@ if (gsp_phys_gr_slot_kept(j, sa_mask, * emitted the prelude words. Otherwise elide the one-word * op=4 run and log MME-CALL-UNMAPPED; the ladder continues. */ - if ((u32)(p - pb) > win_emit_off) { + if ((u32)(p - pb) > win_emit_off && + (req->h_object & 0xfffff000u) == 0xbeef0000u) { static u32 mme_exec_log; static u32 mme_unmap_log; u32 ew = win_emit_off, en = (u32)(p - pb); |
