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
commit49f1853c8dfd0ad576561540219d835227af4b31 (patch)
treed7bed7e432338752c59f85bcb666b4f0a9dcdfef /kernel/gsp_phys_gpu.h
parentc15be05319e00d0818d78d6fdf908e27f19c659f (diff)
downloadopen-iov-m32.tar.gz
open-iov-m32.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