mirror of
https://github.com/QuixiAI/nvdriver.git
synced 2026-12-06 14:38:47 +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
34 lines
3.3 KiB
Plaintext
34 lines
3.3 KiB
Plaintext
Implemented the whole original 059665 Timer StateLoad policy and 059564 OS-relative scheduling helper in gpu/timer/load.rs. Required backend providers remain explicit; no event handle, GPU parent link, active list, or successful absent service is invented.
|
|
|
|
Instruction-level ordering:
|
|
- Read the alarm-head predicate at timer+250 first, then snapshot the OS head at timer+258 before invoking callbacks. The decompiler reversed those reads.
|
|
- Select pending callback from the current timer+248 byte; consume only its low return byte. If pending, reread the current alarm head and its deadline. After rearming, reread timer+248 before enabling callbacks.
|
|
- Traverse the original OS-head snapshot. For each event: read monotonic time, read period+38, write start+40, schedule, then reread next+48. Scheduling may change that link or the flags.
|
|
- Resolve the actual timer-parent GPU before checking OS handle+10. A missing handle diagnoses and returns executed status 3f without marking the event queued.
|
|
- Normalize a zero delay to one nanosecond. After an executed start, diagnose an executed rejection and then OR bit2 into freshly reread flags+18, preserving callback changes.
|
|
- The actual Linux 049822 wrapper calls the void OS primitive and returns NV_OK. Replacement primitive admission or lifetime failures remain outer errors. Injected nonzero helper results exercise the separate generic error branch; they are not claimed as actual Linux wrapper results.
|
|
|
|
Validation:
|
|
- 512 whole-original StateLoad cases and 32 whole-original OS-relative cases match instruction-derived operation traces and final event state.
|
|
- 58 unavailable-service boundary injections retain the current event cursor and stop subsequent operations.
|
|
- Additional tests cover a start that reaches its callback before returning unavailable, and a cyclic list stopped by an explicit safety bound.
|
|
- Five exported core tests, standalone tests under forbid(unsafe_code), strict standalone Clippy, and core all-target strict Clippy pass.
|
|
- tools/timer-state-load-oracle.py --check compares vectors without rewriting them and still writes scoped JSON evidence.
|
|
|
|
Remaining actual backend requirements:
|
|
- Genuine timer/GPU parent resolution and retained OS device context.
|
|
- Real registered OS event/handle lifetime through callbacks, failed starts, and failed close.
|
|
- Real alarm/OS active-list ownership, serialization, and pinned nodes; missing providers must return an outer error rather than pretend their lists are empty.
|
|
- The same retained alarm::State and actual selected alarm/interrupt providers. Only successfully executed receipts may be ignored; outer failures and quarantine remain intact.
|
|
- Actual callback list unlink/detach and event dispatch providers. StateLoad does not supply these implicitly.
|
|
|
|
No physical NVIDIA access, driver binding changes, kernel edits, common build-file edits, or GPU readiness claim were made in this scope.
|
|
|
|
Original REA evidence:
|
|
_nv059665rm ev_bc2107d9abad8cdbf7e01888ac90dc6b6c301cb85106769b6af79b77765ebd6a
|
|
_nv049665rm ev_9bdfe99fc86b247f8c747a5a7f25429964b3d212a6f265b20896d68582a430db
|
|
_nv059564rm ev_0dcfb519a9e0979e0495503ff32a4c269525708ea733abd792ae5cb27aea4723
|
|
_nv016384rm ev_9d918263da20c1f7f85080823dea5e741dfe3ea8d3ff754b76916217171667b6
|
|
_nv059578rm ev_b1e6b32582cae742be61b76b24ab6c6d7100a05f6a93301b8e445ea3dd1780c4
|
|
_nv049822rm ev_c7e8b199db052a7317128deb30da62455592f387faf47893a6e573af62faabf2
|