diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-24 04:17:32 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-24 04:17:32 -0400 |
| commit | e9f5cfb561f7dc94b610e3130dfee9f3325d7d6d (patch) | |
| tree | 8030cc1ee918eddb19bceec9f0f3c10b6465cba8 /kernel/gsp_sema_service.h | |
| parent | e7101aae4639909996a826653e0bab089747ffa1 (diff) | |
| download | open-iov-e9f5cfb561f7dc94b610e3130dfee9f3325d7d6d.tar.gz open-iov-e9f5cfb561f7dc94b610e3130dfee9f3325d7d6d.zip | |
vgsp-gr r598 diag: peek the ring slots past GP_PUT at the launch decision
The r568 lever is the driver's ring WRITE pointer, not the GPFIFO put:
the b copy entry exists in the ring before the client publishes GP_PUT.
Add a bounded diagnostic (gsp_phys_gr_peek) that, when a channel reads
as drained, dumps up to four slots past last_get with {va,len} and
whether the slot already executed that exact entry - so the next fix can
be grounded in what is actually written ahead of the put.
Diffstat (limited to 'kernel/gsp_sema_service.h')
| -rw-r--r-- | kernel/gsp_sema_service.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/gsp_sema_service.h b/kernel/gsp_sema_service.h index 31512ef..8664954 100644 --- a/kernel/gsp_sema_service.h +++ b/kernel/gsp_sema_service.h @@ -259,6 +259,7 @@ extern u64 gsp_sema_copy_dst2; /* CE pending-entry grace window in ms before the release fallback fires. */ extern unsigned gsp_sema_ce_grace_ms; +extern u32 gsp_phys_gr_peek; /* * Bounded work-before-release hold (ms) for an unreadable CE entry whose |
