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
26 lines
1.6 KiB
Plaintext
26 lines
1.6 KiB
Plaintext
Per-owner process operation mutex and removal drain
|
|
|
|
Production C owner installs paired operation callbacks. Rust acquires its
|
|
cloned GPU/module lease before waiting and rechecks removal after lock. A
|
|
LockedGpuRegisters guard unlocks before dropping its final lifetime field.
|
|
Removal marks GPU removed, drains the mutex, marks PCI removed, unlocks and
|
|
only then releases its driver base reference as last owner access.
|
|
|
|
Eight host Rust GPU/DMA tests pass, including callbackpair validation, missing
|
|
service, failed lock, post-lock removal and unlock-before-destruction. A bounded
|
|
independent review found no concrete ownership/ABI/order defect under contracts.
|
|
|
|
All four real Linux EDU guest cases pass107 distinct assertions,22 operation
|
|
checks,11 register checks and35 Rust backing checks. One ordinary worker is
|
|
waiting before a second worker begins removal. Both waiters are observed while
|
|
the holder remains live; new operations reject removal, then holder unlock
|
|
lets acquisition reject post-lock and removal finish PCI marking. Both tasks
|
|
are joined and final-owner cleanup/retry/unload succeeds. No Rust guard moves
|
|
between tasks; task references precede wakeup. No physical NVIDIA device is used.
|
|
|
|
This is not the full RM lock hierarchy or physical engine quiescence. Caller
|
|
must retain actual HAL/access policy, sleepable context/task affinity and a
|
|
correct producer/IRQ/engine stop protocol. External leases cannot create a new
|
|
module pin afterGOING; real shutdown needs an exit-owned/internal access path.
|
|
Actual GPU construction, CUDA and whole hardware parity remain incomplete.
|