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
commit8b1198126605dc29a49b1dfe728409d2fa25a5ab (patch)
tree679ef10a8bed9cb051c989132d014c9084c640d0 /kernel/gsp_phys_gpu.h
parent9f57f99c4358a56d9cbdc16f2d7e2496e3771c7f (diff)
downloadopen-iov-8b1198126605dc29a49b1dfe728409d2fa25a5ab.tar.gz
open-iov-8b1198126605dc29a49b1dfe728409d2fa25a5ab.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