summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_phys_gpu.h
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-07 12:03:02 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-07 12:03:02 -0400
commit98d204a990148e08dbbf99f356b11ab377e0fdf2 (patch)
tree71d742895320794ac4e1ba235e95b250f311f012 /kernel/gsp_phys_gpu.h
parent4409247a4fc5cd5c0db6b85f157f85fcd962c51a (diff)
downloadopen-iov-98d204a990148e08dbbf99f356b11ab377e0fdf2.tar.gz
open-iov-98d204a990148e08dbbf99f356b11ab377e0fdf2.zip
vgsp: m86 - sticky gsp_phys_rmcall_gr_override_hex module parameter
The override blob can now be supplied at load (hex string, <= 1 page) and is parsed at the first forwarded launch, so the minimal-kernel experiment no longer depends on a debugfs write racing the guest's launch. Also observed in the m86 attempt: after many failed launches the forwarded ring desynced (USERD GP_PUT rewound to 1 while the engine's GP_GET was 513; IQ2M sentinel intact, no FE fetch) - a fresh boot is required per experiment.
Diffstat (limited to 'kernel/gsp_phys_gpu.h')
-rw-r--r--kernel/gsp_phys_gpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/gsp_phys_gpu.h b/kernel/gsp_phys_gpu.h
index 1b0bac3..0b85758 100644
--- a/kernel/gsp_phys_gpu.h
+++ b/kernel/gsp_phys_gpu.h
@@ -370,6 +370,10 @@ int gsp_phys_rmcall_gr_notifier_sys_value(void);
* (default 0). */
int gsp_phys_rmcall_gr_img_probe_value(void);
+/* m86: hex bytes applied to the forwarded launch's program page at the QMD
+ * program offset (default empty). */
+const char *gsp_phys_rmcall_gr_override_hex_value(void);
+
/*
* Ladder VAS ownership selector (gsp_phys_rmcall_vas_shared; default 0).
* 0 = FERMI_VASPACE_A is allocated IS_EXTERNALLY_OWNED (historical ladder