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 15:41:01 -0400
commit055b62563959c21e3ce616a1df3989827b25827d (patch)
tree9896e5cf908408f3041a734cdb6267e002acf614 /kernel/gsp_phys_gpu.h
parent6317a17fdf1ddb3752f59128537dc5fc7168d2ff (diff)
downloadopen-iov-055b62563959c21e3ce616a1df3989827b25827d.tar.gz
open-iov-055b62563959c21e3ce616a1df3989827b25827d.zip
vgsp: m32 rank-2 qmdwin - relocate the inline-QMD destination to a proven ring-chunk page (compile-verified, untested)m32
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