Highlights
nvdriver v0.2.0 removes every architecture boot refusal stub across Maxwell through Blackwell, introduces drop-in ./install.sh UX, moves RMAPI allocation/DMA/file-mapping/GPU-slot lifecycle bookkeeping out of C into #![no_std] Rust, and lands dozens of real-silicon fixes from community testing.
Multi-Generation GPU Support (Zero Boot Refusal Stubs)
- Unified Turing–Blackwell GSP-RM Split-RM Runtime (
TU10x/TU11x,GA100/GA10x,AD10x,GH100,GB10x/GB20x):- Every GSP-RM family now routes through the unified
ga10x*.rs+gsp_route.rssplit-RM runtime via a singleGspFirmwareChipFamily::boot_mode()(FwsecBooterfor Turing/Ampere/Ada;FmcBootROM handshake for Hopper/Blackwell). - Real-silicon Ada Lovelace & strict-IOMMU fixes (ported from RTX 4060
AD107testing in #145,@morebrackets):NV_USABLE_FB_SIZE_IN_MB(0x1183a4) priority preventingFWSEC-FRTSerror0xbf, persistent 4 KiB coherent DMA sysmem flush page (0x100c40/0x100c10) eliminating strict-IOMMUIO_PAGE_FAULTs, and cold-bootAD10xSEC2 scrubber (0x1180fc). - Per-GPU GSP-RM forwarding (
ControlNode::escape_target_gpu_id()) enabling heterogeneous pre-GSP + GSP-RM hosts (#127).
- Every GSP-RM family now routes through the unified
- Maxwell & Pascal Pre-GSP Firmware Extraction & Boot (
GM107–GP108):- Extended
tools/extract_gv100_firmware.py(--family gm20x|gp100|gp10x|all) to extract REA-verified 580.178.04 ACR/PMU firmware packs (gm20x.fw,gp100.fw,gp10x.fw). - Wired
LoadedPack::request_legacy+ HS Falcon IMEM/DMEM upload & execution intoboot_maxwell_pascal_pre_gsp, fixed pre-GSP unload deadlock (ApiGuard, #140@gdevenyi), and addedP102-100(10de:1b07, #135@bromt9).
- Extended
Zero-Friction First-Run UX (#133)
nvidia_rs.konow defaults toruntime_engines=1andpci_target=*(with explicitbringup=Ndiagnostic staging precedence)../install.shnow auto-extracts pre-GSP firmware packs and copies local GSP blobs, configures/etc/modprobe.d/nvdriver.conf(install nvidia /bin/false,alias char-major-195-* nvidia_rs),/etc/modules-load.d/nvdriver.conf, and/etc/udev/rules.d/70-nvdriver.rules(automatic/dev/nvidia*symlinks across reboots), and enablesBIND_DEV_NODES=1by default sonvidia-smiand PyTorch/CUDA work immediately without a mount-namespace wrapper.
GV100 / RMAPI / UVM Stability & Parity
- Rust-Owned RMAPI Lifecycle Ledgers (#142 Phases 1–4): Moved OS allocation refcounting (
AllocLedger), DMA map tracking (DmaMapLedger), per-file mmap contexts (FileMappingLedger), and per-minor GPU slot/generation/BAR/NUMA state (GpuSlotLedger) out ofkernel-open/nvidia/rmapi_node.cinto#![no_std]Rust — eliminatingLIST_POISONdouble-unlink GPFs (#118, #126) by construction. - Shared Pinned User-Page Refcounting (#144,
@Scottcjn):Backing::UserPages(0x71) now participates inhas_backing_refby lock token. - CUDA Graphs Partial Unmap/Split (#134): Implemented
uvm_unmap_external_in_range+uvm_ext_gpu_map_split(full cover, head/tail trim, middle hole-punch split). - GV100 Power, Clocks & ECC (#136, #130, #121):
- Implemented
0x2080e61e(nvidia-smi -pl <watts>power limit set + stateful readback) and expanded INA3221 PMGR I2C port probing (0..10). - Added runtime-writable per-PCI-BDF clock overrides (
v100_hbm_ndiv_map,v100_p0_gpc_ndiv_map). - Fixed GV100 FBPA ECC BAR0 register offsets (
+0x478/+0x47cstatus,+0x480/+0x484SEC,+0x488/+0x48cDED across both subpartitions) and surveyedbaseline.ndiv()restore onv100_hbm_ndiv=0.
- Implemented
- Toolchain & Portability (#124, #64): Migrated workspace to Rust Edition 2024 (
@LIghtJUNction), madetools/validate_all.shhost-portable (PATHrustc, Python 3.14ctypesioctl, transparent.ko.zst/.ko.xzconformance checks).
Verification on 37d716a
- Offline & Kernel Hygiene:
cargo fmt/clippy/test(958 + 2 passed),tools/generate_hardware.py --check,NV_RS_KERNEL_IBT=0&NV_RS_KERNEL_IBT=1make modules+tools/check_kernel_module.py(largest_stack = 1000, 0 GOT, 0 SIMD, 0 nakedret/retpoline/SLS/ENDBR violations),tests/kernel-module-gate/test_gate_cases.py(18/18 passed), QEMU EDUverify_rust_guest.py(maxframe = 984). - Live Silicon (1× Tesla V100-SXM2-32GB VFIO VM,
0000:b3:00.0): Full CUDA/cuBLAS/cuBLASLt/cuFFT/cuRAND/cuSPARSE/cuSOLVER/NVRTC/UVM/Graphs/IPC/Multi-Context suite PASSED in 25.1 s (guest_run_rc = 0,rmmod_ok = true,clean_unload = true).