Files
nvdriver/reports/timer-timeout-runtime-analysis.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

72 lines
5.0 KiB
Plaintext

Actual CPU timeout runtime adapter checkpoint
Implemented kernel/timeout_runtime.rs over actual PfSoftware canonical storage,
actual thread_state::Entry/Registry, real LinuxRegistry C storage and explicitly
required named NBSI provider. No physical GPU accesses or hardware binding changes.
This is independently usable CPU configuration wiring; no production factory calls
it until the owning GPU graph satisfies the remaining association below.
Record owns only pointer-free phase, logical/key IDs, partial defaults/pending
Database and error values; it is embeddable and movable in per-device storage.
Record::bind(&identity) creates a scoped Operation borrowing both record and the
mandatory unsafe Identity provider. No self-reference, persistent GpuLease or
State<'static> exists. Binding never clears quarantine. The provider owns/pins
the real logical association and rejects foreign/retired objects; root supplies
the concrete production association separately. Record preserves state between
operations; with_data remains available only through the pinned scoped view.
Neither a configured record nor a borrowed view admits engines or GPU readiness.
PfSoftware narrow accessors read actual Data1e08..1e27, compute_refs1e30,
instancec9c, emulation90e/simulation4de2 and GSP/e00/921 state. Narrow serialized
commits write only selected timeout fields and real canonical logical self-link;
no arbitrary image writes were added. Connection/reset/timer-link reads reflect
canonical915/917/918word/926/1f60; timer-link presence is not a typed timer owner.
Actual BuildProduct implements core Hypervisor. Missing build sentinel cannot
produce a receipt, so runtime never substitutes nonVGX for unresolved product.
Initialization is staged to preserve canonical visibility: actual self-link
before first OS query; flags/scale/default fields before configure_thread's
second fresh OS query; partial threadDatabase publication even on second-query
failure; actual SAME Entry.registry database before Entry.reset_timeout. Executed
reset status is ignored only after the real reset operation ran. Outer failures
retain partialdefaults, pending unpublishedDatabase and detailed base errors and
quarantine reuse. An actual current Entry is a prerequisite; missing registration
is not modeled as a synthetic empty node. This supported calling context adds
an early current-entry validation and does not claim invalid-context059507 parity.
Named CompleteDwordRegistry executes real base read, then any executed nonzero
status invokes its mandatory NbsiDwordRegistry. Base execution failure is retained
separately and does not call NBSI. InitialNbsi is an explicit wrapper around actual
SystemPlatform::PlatformReference::read_initial: actual parent/instance/PM guards
and per-GPU table-init expiry remain enforced. No Option/missing-provider default.
Root fresh049786/049787/046528 REA corroborates base-first/nonzero-fallback order.
Operation.apply_overrides uses root's whole059508 policy with mandatory checkpoints:
GPU1e28 committed before following reads/logs, timeout fields before diagnostics,
callback changes before subsequent steps. Assertion-callback flag mutation is
retained, even on callback failure. Forcedzero is different from absent key;
scaled byte remains unchanged. apply_setup_override is a separate059485 operation
and publishes the SAME Entry.registry DB only after the real diagnostic. No
combined boot routine invents059507/059508/059485 parent ordering. Unsupported
setup publication retains pendingDatabase and blocks reuse.
Validation: eight actual Rust/C fixture tests; old six PfSoftware tests still pass;
strict standalone Clippy and rustfmt pass. Fixture checks both OS-query boundaries
by reading the actual allocated canonical GPU bytes from C, checks real registry
DB at actual reset-clock boundaries, injected OS query and reset-clock failures,
real base/missingNBSI/expiredNBSI/contextfailure, forcedzero override and callback
mutation/failure side effects. Two negative compile tests reject escaping views backed by a local identity
or a local record. Distinct identity/operation scopes preserve failed defaults
and quarantine; failed database publication remains pending after scope exit. Tests use explicit fixture keys/identities and controlled
OS results, not actual GPU admission or a production Identity implementation.
Remaining production contract: parent must retain actual KernelGpu/PfSoftware
association and logical-object->timeoutkey resolver with a real lifetime pin;
invoke only at recovered factory initialization boundary; provide real current
Entry/threadServices/diagnostics with serialization; complete actual per-device
Linux9d8/nv_state association. Existing LinuxRegistry owns a real Rust CPU registry
context linked via system1e60, not a reconstructed complete closed nv_state graph.
A real timeout::Io for yielding/journaling/live reset ownership and hardware waits
is still separate. No default provider, callsite flag changes or hardware-ready
claim was introduced. Original-bound GPUs remain untouched.