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
commit36af41ae7460eac87b6a929a3b9af3a130507a26 (patch)
treeaa9cdff70d04ae890f04b769d7c8ed15383e30ac /kernel/gsp_sema_service.h
parent333d6de1e764edc176b0003af095cee4888ecd2c (diff)
downloadopen-iov-36af41ae7460eac87b6a929a3b9af3a130507a26.tar.gz
open-iov-36af41ae7460eac87b6a929a3b9af3a130507a26.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_ */