Files
nvdriver/reports/gpu-clock-object-remaining.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

98 lines
6.2 KiB
Plaintext

Clock object deactivation: remaining6concrete bodies translated
Original580.178.04 RM SHA256
5269a23ffba19a17fe16f076463e7ad4151254659441d1711bee6c6221ff6f4b.
Uses the matching retained13fresh REA wrapper records from
gpu-gv100-clock-object-wrappers-rea/. These complete instruction observations
already cover081/083/086/091/092/093; no duplicate session or hardware run was
needed. Corresponding exact original method offsets/template relocations are
independently verified in gpu-clock-object-metadata.json.
Production clock_objects now translates these actual operations:
021081 reads low dword50; if zero, invokes REQUIRED original020158 diagnostic
service, then clears byte5c. It does not reset template headers, frequency
value50/58 or method8. Missing diagnostic support stops before the clear.
The original020158 global-error/debug-break behavior remains an explicit
service dependency; a successful empty logger/no-op is not an implementation.
021083 resolves the actual records pointed to by68 then70, assigns each
record byte+c=1 in that order, then executes021096.021092 marks only68 before
021096. Marking is unconditional even when record.valid=0 and assigns low
byte1 rather than ORbit0; upper flag bytes remain. Stable RecordId aliases
resolve to the same actual owned pool/cache record, not copied snapshots.
Missing second pointer retains the first committed mark. Rust stops at an
outer guard rather than original null-pointer dereference behavior.
021086 saves method8, executes actual021096, reads count70 BEFORE installing
temporary021089, then iterates list68 forward from0. Each index reloads list68
and the child's current method8. After each slot (including null slots), it
increments the8-bit index and rereads current count70 to decide continuation.
The initial count is only the entry guard; it is NOT a fixed loop bound.
The Single-child callback can change count/list before iteration begins,
and later callbacks can grow/shrink count or replace list. Finally saved
method8 restores after successful completion. Tests cover full255-slot bound.
021093 uses021082 rather than021096, snapshots count78 before installing the
temporary noop, and visits list70 indices count-1..0. List70 reloads each
iteration; later count78 changes do NOT truncate the original snapshot loop.
Saved method8 restores afterward. This remains separate from086's live-count
forward semantics. Both use the ordinary owner's actual method dispatcher,
so aliases back to the parent observe its temporary return-only method.
021091 clears byte5c and copies all8template header qwords without resetting
scalars50/58. Then, only if lowdword50!=0,word40==0,and low nibble of byte54
!=0, it assigns +10=020586,+18=020592,+20=021059 in that order. Byte54 is the
low byte of the high dword of qword50. Those exact function identities must
resolve through the real registry and are validated before assignment. If a
later binding is unavailable, prior copied/assigned fields remain committed.
These3function bodies are NOT deactivation implementations: direct dispatch
to them remains mandatory External behavior rather than successful no-op.
The shared typed list API distinguishes90/count98,68/count70,70/count78.
Field overlap belongs to different actual object layouts; it is not treated
as one list by convenience. All actual base state, templates, lists/counts,
records, diagnostic service and function bindings remain mandatory owned
providers. Unknown methods remain External. No empty state, guessed flag,
callback default, pointer execution, object allocation/free or physicalGPU
access was introduced. Missing/back-end failures retain known partial state,
including temporary method8 after an unavailable child.
Selection precision: selected GV100 factory020153 directly assigns081 at
multiple per-level method qwords (including394/3a0/3ac/3b8/3c4/3d0/3dc/946/
970/9bc/9c8/9d4), and083 at99a/9ab. Other recovered methods are actual original
template/other-factory callbacks; no unsupported assertion makes all6active
GV100 bindings. Active37slots still depend on actual hardware/runtime
construction and policy state. All35recovered self-linked clock templates'
method8identities are now covered by the18translated deactivation bodies,
including base and return-only methods. This is bounded metadata/body coverage,
not a claim all original ClockManager methods or all factory routes work.
Independent C oracle now includes literal inferred original6bodies.8704cases
=17actual entry methods x8list counts x2mutation modes x32alias/null/conditional
seeds.021089 is additionally exercised by nested reentry. New leaf recorders
mutate forward count/list both before and during iteration, reverse count/list
after the first call, and shared records after their prefix marks. Conditional
header fields vary all branch predicates. Original020158 is represented by an
assertion-call recorder only; its actual global service is not executed.
Pointer-bearing overlapping layouts compare stable record/list identities,
not ASLR host pointer bits. Relevant fields/order/aliases/restoration compare
via FNV1a64=aa66a37085a99fd6. No original external callback, original machine
code or hardware is executed by this oracle.
13focused Rust tests pass. New negative cases cover unavailable assertion,
missing second shared-record pointer, partial fixed-binding failure and
unsupported executable slot methods. Both forward/reverse loops execute
exactly255null entries at maximum count with their respective order.298
workspace tests pass(291core+7other); strict workspace/all-target Clippy and
fmt pass. Metadata --check verifies21identities (18deactivation +3header-slot
function identities),35self-linked templates and no unknown template+8entry.
Oracle --check validates the expanded8704cases deterministically.
Remaining real dependencies: actual complete selected factory initialization
and owned per-GPU pool/node/object/template/list/record registry; actual
active37slot construction for every hardware/runtime route;020158 diagnostic
service and executable methods in other dispatch roles; clock/time/alarm and
other engine services; GPU recovery/boot/validation; CUDA and full closed-
driver hardware-matrix parity. No readiness or whole-driver completion claim
is made by finishing this bounded deactivation family.