summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_phys_gpu.h
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-06 15:41:01 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-06 16:29:29 -0400
commit191100b51d1e6ed36bf4ff776107d551c4793621 (patch)
treec1a9cc449be0f61fcc0d3e49a2557aa35e43018d /kernel/gsp_phys_gpu.h
parentb214240b3b55d60e6441909489e9ceee934a24c0 (diff)
downloadopen-iov-191100b51d1e6ed36bf4ff776107d551c4793621.tar.gz
open-iov-191100b51d1e6ed36bf4ff776107d551c4793621.zip
vgsp: m32 rank-2 qmdwin - relocate the inline-QMD destination to a proven ring-chunk page (compile-verified, untested)
Diffstat (limited to 'kernel/gsp_phys_gpu.h')
-rw-r--r--kernel/gsp_phys_gpu.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/gsp_phys_gpu.h b/kernel/gsp_phys_gpu.h
index 3dce1a6..2ebe167 100644
--- a/kernel/gsp_phys_gpu.h
+++ b/kernel/gsp_phys_gpu.h
@@ -294,6 +294,16 @@ int gsp_phys_rmcall_gr_prelude_value(void);
int gsp_phys_rmcall_gr_qmdvirt_value(void);
/*
+ * gsp_phys_rmcall_gr_qmdwin (default 0): 1 relocates the forwarded GR
+ * inline-QMD destination from the guest QMD VA to a dedicated module page
+ * mapped at the proven engine-reachable window-0 VA 0x107000 (the PTE is
+ * planted in the ladder small-PT line at stage 3, before the engine's first
+ * fetch); 0 keeps the guest destination exactly as before. Rank-2
+ * diagnostic: prewrite/post-mortem use the module page only.
+ */
+int gsp_phys_rmcall_gr_qmdwin_value(void);
+
+/*
* Ladder VAS ownership selector (gsp_phys_rmcall_vas_shared; default 0).
* 0 = FERMI_VASPACE_A is allocated IS_EXTERNALLY_OWNED (historical ladder
* behaviour: the client owns page tables, VA bookings and engine-context