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
commit0a0133d62da40a30bb97e9253ff25e80728185bc (patch)
treecc6c16709c8b4ecce7ba71f5d04f2f3fb8333710 /kernel/gsp_phys_gpu.h
parent17c780add87f076e51b43fe05ef02bd2bd23ebf5 (diff)
downloadopen-iov-0a0133d62da40a30bb97e9253ff25e80728185bc.tar.gz
open-iov-0a0133d62da40a30bb97e9253ff25e80728185bc.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