Files
nvdriver/reports/gpu-clock-objects.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.9 KiB
Plaintext

Clock object base/composite deactivation: concrete original software methods
Target580.178.04 RM SHA256
5269a23ffba19a17fe16f076463e7ad4151254659441d1711bee6c6221ff6f4b.
This continues the retained matching REA evidence from gpu-gv100-clock-pool-
objects-rea/ and clock-pool-rea/ (11records). The exact original instruction
records for021082/087/096/084/089 already answer these questions; no duplicate
session or original/hardware execution was required. Reference IDs and complete
instruction lists are preserved in those directories and closed/reset bundles.
Production gpu/clock_objects.rs translates these actual bodies:
021082: read actual object template0; clear byte5c; set qword50 to
ffffffff00000000 and dword58 to00ffff02; copy all8qwords of the template
header, including template0 and live method8. The shared pool Object owns
method8, while BaseState owns the remaining header/scalars. No duplicated
method snapshot hides changes from nested/aliased dispatch.
021087: save method8, execute021082, snapshot count98, install actual return-
only021089 as method8, then visit list indices count-1..0. Null children skip.
For every index reload actual list90, then its child pointer; invoke the
child's current+8 method. Child callbacks may replace list90 or change count98;
new list90 is observed, while the loop still uses the original count snapshot.
Finally restore saved method8, including when a successful child changed it.
021096: save method8; validate actual child60; execute021082; install021089;
reload actual child60; invoke its current method8; restore saved method8.
021084: execute021096, then clear the16-bit word74. No clear follows an
unavailable/failed-to-execute nested callback.
021089: exact original ENDBR64;RET, with no state/service effects.
All nested calls use the owner's normal pool dispatcher, so an alias back to
the parent sees temporary021089 rather than recursing indefinitely. Known
methods can compose directly into clock_pool::Io::deactivate. A populated-pool
integration test actually executes Single74/base/child dispatch before original
node+28 flag clearing and pool tail cleanup. Unknown methods require the real
external_deactivate body; no default successful/empty implementation exists.
Typed retained TemplateId/ListId and existing ObjectId/MethodId refer to actual
owned registry entries. All object base state, templates, live child links,
count/list snapshots and method identities are mandatory provider operations.
Bounded decoders resolve every nonnull method/template pointer; decode_object
obtains base fields and live method8 from the same original snapshot. Null
header slots remain null. Temporary-noop token is validated as the actual
021089 binding before installation; another method cannot substitute for it.
Original malformed/null paths assert through020158 and may subsequently
fault. Rust stops with explicit outer safety errors instead. In particular a
missing child60 stops at the original first assertion boundary before reset.
Missing templates/lists, unknown methods, unavailable children or stale owned
state never become empty fallback objects or executed success. Failure after
base reset retains actual prior writes; after temporary method installation
it retains that method rather than fabricating a successful callback return
and restoration. This is an explicit safety boundary, not claimed parity for
original null-dereference behavior. Recovery remains the owner's responsibility.
Original binary metadata: gpu_generate_clock_object_metadata.py extracts exact
.text offsets for the5known methods into clock_object_methods.rs and validates
original021089 bytes f30f1efac3. Unknown offsets classify External, never Noop.
It also retains35original64-byte clock template headers and all relocations.
Each header's first relocation points back to itself, corroborating the
original template0 copy. Genuine absent method slots are retained as null.
These35headers are candidate original clock-object templates, not a claim all
are constructed for GV100. Their method8 fields include13other method
identities beyond the translated template callbacks; actual selected links
and all remaining bodies still require construction evidence and translation.
Independent oracle gpu_clock_objects_oracle.c copies literal inferred original
021082/087/096/084/089 C. Harness adaptations make register-proven RDI args
explicit and use ABI adapters for the base pointer/ignored noop argument.
Synthetic templates/objects/lists and leaf callback recorders permit list
replacement/count mutation and aliases/reentry through actual temporary+8.
No original external callback, original machine code or hardware is executed.
2048cases =4wrappers x8list counts(0..7) x2mutation modes x32null/alias seeds.
Compare callback identities/order, all header slots, scalar reset fields,
word74, live list/count and restored method8. FNV1a64=c3977f1952003e90.
Five focused Rust tests additionally cover populated-pool composition,
unavailable nested callback partial state, absent template/list/unknown method
failures, and bounded real-binding decode.268workspace tests pass(261core+
7other), strict workspace/all-target Clippy and fmt pass. Both independent
metadata and oracle generators provide deterministic --check modes.
Remaining: actual object/template/list registry and full factory020153 input
state/construction; other original callback bodies including nested referenced
methods; complete active37slot selection; actual production owned-pool backend
and engine/HAL initialization; hardware recovery and validation. No physical
GPU access, whole ClockManager completion, CUDA execution or full driver
parity/hardware matrix proof is claimed by this checkpoint.
Subsequent wrapper checkpoint: gpu-clock-object-wrappers.txt adds actual021090
and021095,3072originalCcases,7recognized methods and7focusedtests. Original
factory assignments are retained; activepool/registry construction and other
callback bodies remain required. No hardware success is implied.