summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_sema_service.h
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-23 06:06:26 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-23 06:06:26 -0400
commitd7e578b41b3c9d1ff6f5f705a27fe80c6e3a6520 (patch)
treefe9e8419f245f68e4619f6f957fc5f0ce3a9cd3d /kernel/gsp_sema_service.h
parent49f6cc35af91e2a403490cd9319166dd14f5f64e (diff)
downloadopen-iov-d7e578b41b3c9d1ff6f5f705a27fe80c6e3a6520.tar.gz
open-iov-d7e578b41b3c9d1ff6f5f705a27fe80c6e3a6520.zip
kernel: semaphore service forward-jump completion, stats, sema_probe
Relax the in-order rule to forward progress (payload > current), with the jump bounded and counted: UVM tolerates forward jumps up to 2M (2 * UVM_CHANNEL_NUM_GPFIFO_ENTRIES_MAX), and push buffers are recycled so intermediate pushes can be missed. Add miss/stale/jump counters to the rebuild log and a sema_probe module parameter to dump the service's map entry and live slot values for a GPU VA (diagnostics for tracker stalls).
Diffstat (limited to 'kernel/gsp_sema_service.h')
-rw-r--r--kernel/gsp_sema_service.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/gsp_sema_service.h b/kernel/gsp_sema_service.h
index 2dfa28d..f6ec3fc 100644
--- a/kernel/gsp_sema_service.h
+++ b/kernel/gsp_sema_service.h
@@ -12,5 +12,6 @@
int gsp_sema_service_start(void);
void gsp_sema_service_stop(void);
+int gsp_sema_service_probe(u64 gpu_va, u32 count);
#endif /* _GSP_SEMA_SERVICE_H_ */