summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_emulation.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/gsp_emulation.h')
-rw-r--r--kernel/gsp_emulation.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/gsp_emulation.h b/kernel/gsp_emulation.h
index 156499a..929003e 100644
--- a/kernel/gsp_emulation.h
+++ b/kernel/gsp_emulation.h
@@ -63,6 +63,14 @@
#define GSP_EMU_REG_MMU_INVALIDATE 0x0030b0
#define GSP_EMU_MMU_INVALIDATE_TRIGGER (1U << 31)
+/* NV_PFALCON_FALCON_DEBUGINFO (GSP falcon BAR0+0x110094): holds the CrashCat
+ * wayfinder-L0 descriptor. If its low 16 bits == 0xdead (NV_CRASHCAT_SIGNATURE),
+ * the driver's kgspHealthCheck reads crashcat reports from garbage and loops
+ * forever in nv_open_q (which then can't poll RPCs -> fn-10 FREE timeouts).
+ * Force it to 0 (invalid wayfinder -> crashcatEngineGetNextCrashReport
+ * returns NULL) so the health check always passes. */
+#define GSP_EMU_REG_FALCON_DEBUGINFO 0x110094
+
#define GSP_EMU_CPUCTL_STARTCPU 0x2
#define GSP_EMU_CPUCTL_HALTED 0x10