From 191100b51d1e6ed36bf4ff776107d551c4793621 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Tue, 6 Oct 2026 15:41:01 -0400 Subject: vgsp: m32 rank-2 qmdwin - relocate the inline-QMD destination to a proven ring-chunk page (compile-verified, untested) --- kernel/gsp_phys_gpu.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'kernel/gsp_phys_gpu.h') 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 @@ -293,6 +293,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 -- cgit v1.2.3