mirror of
https://github.com/QuixiAI/nvdriver.git
synced 2026-12-06 22:48:43 +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
53 lines
3.9 KiB
JSON
53 lines
3.9 KiB
JSON
{
|
|
"scope": "Compiled concrete LinuxDma-backed SystemMemory owner and copied-buffer C FFI with actual production GPU lifetime lease",
|
|
"production_exposure": "Compiled in kernel/lib.rs with eleven explicitly retained copied-buffer C FFI entries; actual GPU lease controls lifetime and hardware readiness. No ioctl dispatch to hardware added; KernelGpu remains unready.",
|
|
"changes": [
|
|
"Concrete production owner moves Option<GpuLease>; acquisition is serialized against removal, mismatched PCI is rejected before DMA context creation, and every hardware operation rechecks actual readiness.",
|
|
"PrepareFailure retains GPU lease and any DMA context. Owner holds guard in ManuallyDrop so accidental drop cannot release GPU storage while DMA backing is leaked. Explicit successful close drains pins/backing/context, then releases/drops guard.",
|
|
"DMA Manager::new_retaining returns backend on invalid constraints/ID exhaustion rather than discarding an owning Linux context; SystemMemory backend access is permitted only when empty.",
|
|
"C FFI acquires actual GpuLease and matches_pci before construction; initialized=1 preserves cleanup ownership even after later preparation error. Same-module C nv_rs_copy_owned uses untyped memcpy to preserve pointer/padding semantics; Rust forgets source only after whole copy. No volatile byte reconstruction of pointer-containing Owner.",
|
|
"Real LinuxDma calls validated C nv_rs_dma_allocate/map/sync/unmap/release, with actual adapter host mocks for PCI/DMA primitives. One resource per owner avoids synthetic namespace-capacity limits and large array constructors."
|
|
],
|
|
"tests": {
|
|
"adapter_owner_tests": 5,
|
|
"copied_buffer_C_ffi_tests": 1,
|
|
"C_assertions": 43,
|
|
"C_config_bytes": 64,
|
|
"C_info_bytes": 48,
|
|
"workspace_log": "system-memory-kernel-workspace-test.log",
|
|
"bridge_log": "system-memory-bridge-tests.log",
|
|
"real_production_lease_tests": 3,
|
|
"object_check": "system-memory-production-object-check.json",
|
|
"production_module_build": "system-memory-production-module-build.log",
|
|
"real_lease_C_header_assertions": 16,
|
|
"test_shim_C_assertions": 43,
|
|
"host_fixture_log": "system-memory-production-host-fixtures.log",
|
|
"production_static_checks": {
|
|
"no_unresolved_rust_or_userspace_symbols": true,
|
|
"private_adapters_resolved_in_module": true,
|
|
"no_simd_or_x87_registers": true,
|
|
"no_kernel_unsupported_got_relocations": true,
|
|
"no_unwind_sections": true,
|
|
"no_stack_reservation_above_1024_bytes": true,
|
|
"no_rsp_redzone_references": true,
|
|
"rust_protocol_entry_present": true,
|
|
"rust_event_selftest_present": true,
|
|
"rust_capabilities_entry_present": true,
|
|
"rust_system_memory_entries_present": true,
|
|
"distinct_module_name": true,
|
|
"no_pci_aliases": true
|
|
},
|
|
"production_sha256": {
|
|
"kernel-open/nvidia/nv-rust.o_binary": "9f71518012174f9a864859c18e4158f7744a12d4ed59489d27527fad8f3e3b7f",
|
|
"kernel-open/nvidia_rs.ko": "457b52514a464027b4ba6fb2af94083aa5683d5de9b15d4c6f9339b6f27af277"
|
|
}
|
|
},
|
|
"remaining": [
|
|
"Actual KernelGpu is PCI-prepared only and always unready: production SystemMemory hardware allocation is deliberately rejected. No CUDA support claimed.",
|
|
"Five positive DMA owner tests and43 copied-buffer C assertions use an explicit test-only readiness lease shim; positive allocation on actual NVIDIA hardware is not proven.",
|
|
"Three actual production-GpuLease tests cover prepared denial/no OS allocation, mismatched PCI/no leaked lease, closeBusy with live owner, removal revocation, and final owner cleanup. Root owns separate real delayed-work cleanup/VM evidence.",
|
|
"No SystemMemory ioctl dispatch to a hardware backend yet. GPU client/resource registry, full HAL/memory construction and unrecovered feature paths remain incomplete.",
|
|
"No host NVIDIA GPU allocation, driver replacement or binding changes performed."
|
|
]
|
|
}
|