Files
nvdriver/reports/gpu-clock-pool.txt
nvidia-driver-rs 4526e6a816 Baseline: validated 30/30 tree with passing Level 7 hardware regression
- Updated tools/post_reboot.sh to check kernel oops taint bit and stuck driver tasks instead of <86400s uptime
- Level 7 hardware regression passed on 0000:b3:00.0 (module 37e6fa430835eee2b426019db3ad70eeb7a9e9070c09c84bd9b973cf56cbe529, 107 inventory words, 0 static mismatches, CUDA baseline verified before and after)
- Updated .gitignore to exclude build archives (*.a, *.rlib), __pycache__, and raw trace dumps
2026-11-23 23:48:38 +00:00

91 lines
5.8 KiB
Plaintext

ClockManager populated-pool reset: ordered concrete state transitions
Original580.178.04 RM SHA256
5269a23ffba19a17fe16f076463e7ad4151254659441d1711bee6c6221ff6f4b.
Eleven fresh isolated REA records: gpu-gv100-clock-pool-rea/ (021074,021109,
021101,020158) and gpu-gv100-clock-pool-objects-rea/ (020155,020153,021087,
021082,021096,021084,021089). Both sessions closed/reset with full bundles.
These are static original instruction observations, not hardware execution.
021074, selected ClockManager+218, returns only if actual ClockManager8a0 is
null. Otherwise it passes that pool pointer to021109 then invokes021101 with
clock owner and target0. 021109 visits13016-byte records in pool0..81f. For
nonzero record+0, byte+c is assigned1; it is NOT an ORbit0. Upper flag bytes
and other record fields remain unchanged.
021101 reads depth byte2a490. Constructor020155 sets depth8 and constructs
8levels with base910 and stride5370; the final level ends2a490. For original
reset target0, visit depth-1..0, with each level's37slot pointers ascending.
The pointer location is pool+5b58+level*5370+slot*8. A null slot is skipped.
For every nonnull node, object=node+8 must exist, method=object+8 must exist.
Fresh original instructions prove RDI=object at the indirect call. The method
has no consumed status result. The routine invokes it regardless of current
node+28 bit0. On return, original node+28 bit0 clears, then ClockManager8a0
reloads. Thus callbacks may replace the active pool: subsequent slots use the
replacement pool, while the completed callback clears the original node.
No node pointer is removed and no object is freed by this routine.
After traversal, depth is set0 in the current pool, current pool reloads, and
zero depth normalizes1. Initial depth0 also normalizes1 without callbacks.
Finally word820 and word828 clear with another current-pool reload between
stores. These are state resets, not ownership destruction/free operations.
Production gpu/clock_pool.rs implements these operations over owned PoolId,
NodeId,ObjectId,MethodId handles. Pool includes130actual records and8x37slot
references; separate nodes reference objects, whose +8 method binding is
mutable/shared. This separation supports aliases and original callbacks that
temporarily replace their method during nested dispatch. The provider must
serialize full reset with construction/removal and retain old nodes/objects
through callback return and original flag clearing. Unknown, stale, or absent
handles/services must error, never synthesize empty objects/pools or success.
No foreign pointer is followed or executed. Bounded decoders resolve every
nonnull original pointer through the provider's existing owned registry.
Caller has observed nonnull8a0; reset_present rejects absent current pool.
Malformed depth>8, missing object and missing method stop with typed Error.
Original code logs an assertion and can then null-dereference in such cases;
Rust deliberately stops instead. These are outer safety/backend failures,
not a guessed executed RM callback status. Unavailable callbacks stop before
clearing that node; prior dirty writes/completed callbacks remain committed.
BIF error initialization calls this concrete algorithm through mandatory
clock_pool::Io. The old opaque RequiredCall/required_call API is removed.
This does NOT mean every object callback is implemented: Io.deactivate must
execute the actual original object+8 binding on its actual owned state,
including nested callbacks. It has no default success implementation. The
existing BIF test confirms an unavailable pool provider stops before8d324;
no substitution of an empty pool occurs when8a0 was observed present.
Transitive callback evidence and NEXT DEPENDENCY:
Selected GV100 factory020153 initializes many composite/software objects.
021082 clears object5c, sets50=ffffffff00000000 and58=00ffff02, and copies
8qwords of original template header. Composite021087 saves method8, calls
021082, temporarily uses return-only021089, walks child list90/count98 in
reverse invoking each nonnull child's+8 method, and restores saved method8.
021096 similarly resets, installs temporary021089, invokes actual child60,
then restores. 021084 additionally clears16bits at74. These child/template
states and other actual37-slot bindings must still be translated and owned;
current dispatch remains mandatory. Neither synthetic oracle callbacks nor
the interface are evidence those original method bodies execute in Rust.
No uniform callback binding is guessed from slot position or public names.
Independent oracle tools/gpu_clock_pool_oracle.c copies literal inferred
021074/109/101 C. Harness adaptations: real local RBP frame, explicit register-
proven RDI args, synthetic pools/nodes/objects, callback identity recorder and
optional current-pool replacement. Invalid assertion paths abort the harness.
No original object callback, original machine code or GPU is executed.
576cases =2replacement modes x9depths x32dense/sparse seeds. Compare all
callback identities/order, both pools'130records/depth/tail fields,592original
node flags and current-pool identity. FNV1a64=ae6450fcc77bbf18. Generator offers
deterministic --check. Four focused Rust tests also cover unavailable callback
partial-state retention, missing/malformed owned state, and bounded pointer
resolution.258workspace tests pass (251core+7other), strict workspace/all-
target Clippy and fmt pass at this checkpoint. Actual construction, callbacks,
operating GPU ownership, recovery and hardware/whole-driver parity remain
unproven. No physical GPU access or readiness claim occurred.
Subsequent object checkpoint: gpu-clock-objects.txt translates actual021082/
021087/021096/021084/021089 methods with2048originalCcases and populated-pool
composition. Other original callback bodies and actual construction/registry
remain mandatory; no whole ClockManager/hardware success is implied.