summaryrefslogtreecommitdiffstats
path: root/kernel/main.c
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-23 20:09:08 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-23 20:09:08 -0400
commitbd01273cd1b221f55eb484e8b7fd742417a4d4bd (patch)
treedf3763a5e427939fdeebaac162fb68b90f094351 /kernel/main.c
parentccdc1240d5df9777503a05b247109b6136d03313 (diff)
downloadopen-iov-bd01273cd1b221f55eb484e8b7fd742417a4d4bd.tar.gz
open-iov-bd01273cd1b221f55eb484e8b7fd742417a4d4bd.zip
r578 diag: event-function reachability probe (gsp_rm_ev_func)
The r577 A/B (sequence, bNotifyList, hClient) all yielded nv_post_event=0 with every record consumed by the guest: the drop is content-independent. This knob posts event records with a caller-chosen RPC function instead of POST_EVENT 0x1003; posting an event whose handler has an unmistakable guest side effect (UCODE_LIBOS_PRINT 0x100C trips NV_ASSERT_FAILED on an unsupported ucode; OS_ERROR_LOG 0x1006 logs an errString) proves whether the guest dispatches our status-queue event records at all - dispatch vs consumed-without-dispatch decides the next probe (inside _kgspRpcPostEvent or earlier in the drain).
Diffstat (limited to 'kernel/main.c')
-rw-r--r--kernel/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/main.c b/kernel/main.c
index 8d02e5b..d821762 100644
--- a/kernel/main.c
+++ b/kernel/main.c
@@ -2822,6 +2822,8 @@ module_param_named(gsp_rm_ev_nlist, gsp_rm_ev_nlist, uint, 0644);
MODULE_PARM_DESC(gsp_rm_ev_nlist, "set bNotifyList on event records (default 0: specific-hEvent dispatch)");
module_param_named(gsp_rm_ev_cl, gsp_rm_ev_cl, uint, 0644);
MODULE_PARM_DESC(gsp_rm_ev_cl, "override event record hClient (default 0: the allocating client)");
+module_param_named(gsp_rm_ev_func, gsp_rm_ev_func, uint, 0644);
+MODULE_PARM_DESC(gsp_rm_ev_func, "reachability probe: event records carry this RPC function instead of POST_EVENT 0x1003 (default 0)");
module_param_named(gsp_sema_walk_trace, gsp_sema_walk_trace, uint, 0644);
MODULE_PARM_DESC(gsp_sema_walk_trace, "Trace GMMU walks for unresolved high-VA operands (default 0: off)");