mirror of
https://github.com/QuixiAI/nvdriver.git
synced 2026-12-06 06:28:39 +00:00
- 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
83 lines
5.0 KiB
Plaintext
83 lines
5.0 KiB
Plaintext
GV100 link-control transitive child _nv017755 -> _nv017105
|
|
========================================================
|
|
Original NVIDIA580.178.04 monolithic RM, SHA256
|
|
5269a23ffba19a17fe16f076463e7ad4151254659441d1711bee6c6221ff6f4b.
|
|
Six fresh original instruction Evidence records and exported bundle retained in
|
|
gpu-gv100-link-rea/. No live GPU access was performed.
|
|
|
|
Implementation
|
|
--------------
|
|
gpu::gv100::load::link::select_link_mode replaces the former mandatory
|
|
RequiredCall::Nv017755. All selected GV100 training register operations now
|
|
execute through the checked backend; the full training body is not a stub.
|
|
The original access validator _nv031156 remains a mandatory explicit backend
|
|
primitive, validate_link_access. Its outer error indicates unavailable/backend
|
|
failure, and its executed nonzero status causes the original early return.
|
|
Its software/power/virtualization prerequisites are not guessed from PCI ownership.
|
|
|
|
The _nv017755 wrapper validates access, reads configuration0x88 speed bits19:16,
|
|
normalizes requested modes outside1..3 to0, and applies the exact stored-speed
|
|
condition at BIF+0x9a8. Its fast return publishes requested speed only when the
|
|
stored-lower-nonzero warning condition does not override it. Otherwise it calls
|
|
the selected +0x470=_nv017105, ignores that executed HAL status, rereads speed,
|
|
publishes BIF+0x9a8, and returns0 iff observed speed equals normalized request.
|
|
|
|
_nv017105 returns0 without writes for mode0/out-of-range, mode2 without BIF+954,
|
|
or mode3 without BIF+955. Otherwise +0x528=_nv017318 reads configuration0x150,
|
|
stores bits7/8 in BIF+0x12c8/+0x12c9, and forces +0x4a0/+0x4a8. Those nested
|
|
callbacks and existing platform predicates are implemented directly. It saves
|
|
BAR0+0x8b8c0 and writes saved|4, plus writes0x137450=3 if GPU+0x4de5.
|
|
|
|
Three ordered polling phases
|
|
----------------------------
|
|
1. Start one configured GPU timer. Check it at source line0x4fc, then read
|
|
BAR0+0x8c040 until low5 bits clear or actually executed timer status0x65.
|
|
Even actual expiry proceeds to the next phase, as in the original.
|
|
2. Select speed bits19:18 as mode1=2, mode2=1, mode3=0. Read configuration0x88
|
|
lane-count bits25:20, selecting register bits22:20 as width1=7,width2=6,
|
|
width4=5,width8=4,otherwise0. Repeatedly write/read the target0x8c040 value,
|
|
then check the same timer at0x549 until readback matches or actual expiry.
|
|
The same finite safety budget and original deadline are shared by phases1/2.
|
|
3. Start a new configured GPU timer for all training attempts. Up to eleven
|
|
attempts write the FIXED target with low4 replaced by1, then check timer0x55b
|
|
before a checked read of0x8c040 until value is notffffffff and low5 clears,
|
|
or actual expiry. Read configuration0x88, preserveffffffff sentinel or extract
|
|
speed bits19:16, and check timer0x57f. Matching requested speed succeeds even
|
|
if that last check expired. Otherwise actual expiry or eleven attempts fails.
|
|
|
|
The fixed retry command is instruction-proven: R15D is loaded from target scratch
|
|
at0x627683a and retained through retry branch0x6276904 back to0x6276840. The
|
|
observed-speed stack slot is separate. The Rust code preserves that distinction;
|
|
it does not accidentally issue command1 alone after the first failed attempt.
|
|
The two original read helpers have selected physical implementations with the
|
|
same register offset; the backend still owns state/access/interception routing.
|
|
|
|
Completion and partial failure
|
|
------------------------------
|
|
On executed training failure, read0x8c040 and restore its speed-policy bits from
|
|
observed speed2/3/other, increment BIF+0x9ac with original wrapping arithmetic,
|
|
and returnffff. On both executed success/failure, restore saved0x8b8c0 and
|
|
invoke +0x530=_nv017323, which restores saved7/8 controls through policy-aware
|
|
+0x4a0/+0x4a8 callbacks rather than blindly restoring raw bits.
|
|
Checked unavailable/register/clock failures stop with partial writes retained;
|
|
no unsafe cleanup writes or proven reset recovery are invented after lost access.
|
|
Each timer has an explicit finite cap. Exhaustion is outerErr0x40, distinct from
|
|
actually executed clock status0x65. Underlying timer services remain required.
|
|
Parent StateLoad ignores only executed link-control statuses, not outer errors.
|
|
|
|
Remaining work
|
|
--------------
|
|
Six mandatory complex child variants remain: _nv017073, _nv030976(region0/8b000),
|
|
security108, _nv017188, _nv017626, optional engine2058+0x1e8. Original configured
|
|
timer services and actual _nv031156 access validation are also required backend
|
|
primitives. No hardware boot, CUDA capability or full-matrix parity is claimed.
|
|
|
|
Validation
|
|
----------
|
|
40 GPU tests and strict workspace Clippy passed. Four new tests exercise exact
|
|
three-phase success ordering, two timer starts, saved-register restoration,
|
|
eleven retries with fixed target command, wrapping failure counter, actual
|
|
expiry versus safety cap, unavailable validator, no-write ineligible modes,
|
|
and all three mode masks over lane widths1/2/4/8/unsupported. Parent ordering and
|
|
missing-child tests now cover the six remaining required complex variants.
|