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
139 lines
7.9 KiB
JSON
139 lines
7.9 KiB
JSON
{
|
|
"status": "bounded_CPU_and_emulated_adapter_validation_passed",
|
|
"scope": "Prepared GPU storage/module lifetime and real SystemMemory guard integration; no operational GPU, physical NVIDIA removal, or CUDA claim",
|
|
"production_module_sha256": "e3c0d7fb8e26d67de66d00639774ce4378d58cfc190ce8dd8bcff9b6c93292d6",
|
|
"source_snapshot_sha256": {
|
|
"src/nvidia/kernel/gpu.rs": "15a9962f83a75b4240dd6d172d0124acdf04b59ccb54b1e48aaa24ae8bf4fa7b",
|
|
"src/nvidia/kernel/system_memory.rs": "76a001484d2dd688a5123e63790c4c43240698c07e75f90d420308e4941592db",
|
|
"src/nvidia/kernel/system_memory_ffi.rs": "5c931f4111c6794cc1b6d94b01a5d2e47d4137c41a0c303c0995ab47aeaee63c",
|
|
"src/nvidia/kernel/lib.rs": "68fdf6062135324f74ed00b93c5f6c2059c69d72a88fa7b3af8e36aefe929387",
|
|
"src/nvidia/kernel/verify-object.py": "7f5030d82c2ac98a4a25aaf0254bf36ae6912d5305c9ff599b218361adf71915",
|
|
"kernel-open/nvidia/gpu_owner.c": "ec113471d7d64b83af9a9ee3e04b726b45ec562a8bad1187bb68bbf2a4c40365",
|
|
"kernel-open/nvidia/gpu_owner.h": "4ac7f37dcb26b2470685744891e15a408d358096bb2d1191f501e1074499cfb5",
|
|
"kernel-open/nvidia/gpu_bridge.h": "6eb86e7016d5b9d679bed9b3391ec74d0776555fabb3b9d6327a4d9743ad55ed",
|
|
"kernel-open/nvidia/pci_driver.c": "029a27ae75475487b402c73d720c2d322ed9ee406d4f46a9fbca2a5fa6aed7c5",
|
|
"kernel-open/nvidia/system_memory_bridge.h": "b6a945d7047faa29730177a41e81d7d268333ee7a3820b363f59cb655089e95d",
|
|
"kernel-open/nvidia/memory_copy.c": "6524f5177c4abbdde8cc6e86f0046586a635da65207874718d348b1c43a3ea4c",
|
|
"kernel-open/nvidia/memory_copy.h": "1afe66180d9b0ee27d786f09ddfab7a92f202c9058ebdc4a103148e66dbeaa84",
|
|
"tests/vm/edu_adapter_test.c": "ab9074d68d90ba1b0f4f637ab946966a92131b8e0d44596093c314cd306fa113",
|
|
"tests/vm/rust_backing.rs": "1a7ed4fb2366f3d648e84fa4a2c70f1b17f44b5ce7d00d78aa4844f742027229",
|
|
"tests/vm/gpu_close_fault.c": "2995a1c56c506adbd083a7f8541dfafbd0453d38f2bd37d37079d4ca44f9292b",
|
|
"tests/dma-mock/ffi.rs": "6751fe8ae564519ffbd5381d9a8f5f8d10c26bde7846060d090e7871137d93c2",
|
|
"tests/dma-mock/ffi.c": "b2eae9e935788cd4d0635084064b9f07135efd05fbf09ea23c0ac4124eab32f5",
|
|
"tools/vm/run_guest.py": "bca6c3a0b0a1e5b34f9ee29d19fa6467c93265c47c74be09da342e16962ce270",
|
|
"tools/vm/guest_results.py": "91683815eaa1e707b50a778861f64ed8020dae3ced3603c2467c560e198b5aac",
|
|
"tests/vm/test_result_gate.py": "ed96555bdade71fbcb50c1c337a2bdc898b006ba7650e4c8a65a932c4bfd236a"
|
|
},
|
|
"source_snapshot_limit": "Current checkpoint, not a retroactive manifest of every guest build input. Guest observations identify tested binary artifacts independently.",
|
|
"implementation": [
|
|
"Pinned GPU storage has one PCI driver base reference and externally owned non-Send/non-Sync GpuLease tokens.",
|
|
"External leases pin module code. PCI/DMA krefs alone do not. Base references do not prevent reaching PCI remove during module exit.",
|
|
"Removal marks GPU then PCI removed before releasing the base as its last owner access. New leases/readiness are rejected.",
|
|
"Raw atomic close claims precede any whole-object mutable reference. Managed storage rejects legacy close.",
|
|
"Final removed reference closes DMA, then destroys storage and PCI owner; failed close restores a cleanup-owned reference before delayed retry.",
|
|
"Module teardown waits pending owners, including timer-only retries, before destroying/joining the cleanup queue.",
|
|
"Production SystemMemory FFI retains the actual GPU lease and rejects a mismatched PCI identity. Copied owner transfer uses the explicit same-module C memcpy adapter.",
|
|
"Prepared hardware_ready is always false. Config flags cannot assert readiness."
|
|
],
|
|
"validation": {
|
|
"workspace_tests_passed": 216,
|
|
"workspace_test_log": "build-current-tests.log",
|
|
"host_adapter_log": "build-current-host-adapters.log",
|
|
"host_Rust_GPU_DMA_tests": 6,
|
|
"host_system_memory_tests": 9,
|
|
"C_DMA_fixture_checks": 4305,
|
|
"protocol_fixtures": 65,
|
|
"production_object_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
|
|
},
|
|
"live_control_checks": 116,
|
|
"live_software_differential_cases": 42,
|
|
"live_module_unloaded": true,
|
|
"physical_NVIDIA_bindings_unchanged": true,
|
|
"VM_cases": [
|
|
{
|
|
"report": "vm-adapter-validation.json",
|
|
"results": [
|
|
{
|
|
"checks": 88,
|
|
"rust_backing_checks": 35,
|
|
"gpu_cleanup_retries": 1,
|
|
"dma_roundtrip_bytes": 64,
|
|
"irq_mode": 2,
|
|
"iommu_dma_domain": false,
|
|
"gpu_parity": false
|
|
},
|
|
{
|
|
"checks": 88,
|
|
"rust_backing_checks": 35,
|
|
"gpu_cleanup_retries": 1,
|
|
"dma_roundtrip_bytes": 64,
|
|
"irq_mode": 4,
|
|
"iommu_dma_domain": false,
|
|
"gpu_parity": false
|
|
}
|
|
],
|
|
"tested_inputs": {
|
|
"target/vm/vmlinuz": "d820688f039cb28deea210c1c75eb377437ba832ddd415460b79b88d4bb02761",
|
|
"target/vm/initramfs.cpio.gz": "90d09f2d4dccd350feff9998f0cd83e4cfe13dae267b917410b6c9418182dc5e",
|
|
"target/vm-module/nv_rs_edu_test.ko": "cd7b059ab602e4185638a064ffbe1cee52f84e0ec108752c262268aeea1aa77f"
|
|
}
|
|
},
|
|
{
|
|
"report": "vm-adapter-iommu-validation.json",
|
|
"results": [
|
|
{
|
|
"checks": 88,
|
|
"rust_backing_checks": 35,
|
|
"gpu_cleanup_retries": 1,
|
|
"dma_roundtrip_bytes": 64,
|
|
"irq_mode": 2,
|
|
"iommu_dma_domain": true,
|
|
"gpu_parity": false
|
|
},
|
|
{
|
|
"checks": 88,
|
|
"rust_backing_checks": 35,
|
|
"gpu_cleanup_retries": 1,
|
|
"dma_roundtrip_bytes": 64,
|
|
"irq_mode": 4,
|
|
"iommu_dma_domain": true,
|
|
"gpu_parity": false
|
|
}
|
|
],
|
|
"tested_inputs": {
|
|
"target/vm/vmlinuz": "d820688f039cb28deea210c1c75eb377437ba832ddd415460b79b88d4bb02761",
|
|
"target/vm/initramfs.cpio.gz": "90d09f2d4dccd350feff9998f0cd83e4cfe13dae267b917410b6c9418182dc5e",
|
|
"target/vm-module/nv_rs_edu_test.ko": "cd7b059ab602e4185638a064ffbe1cee52f84e0ec108752c262268aeea1aa77f"
|
|
}
|
|
}
|
|
],
|
|
"VM_gate_negative_test": "tests/vm/test_result_gate.py: missing retry/checks/unload, wrong IRQ/domain/transfer, and false parity claims rejected",
|
|
"independent_review": "gpu-lifetime-independent-review.json"
|
|
},
|
|
"contracts_and_limits": [
|
|
"First acquire requires registry/removal serialization, pinned live storage, and installed immutable cleanup callbacks; another live lease permits cloning.",
|
|
"Final drop/close executes inside an active VFS/probe/removal or exit-joined worker context. Non-Send alone does not establish this.",
|
|
"Stop owner creation before queue teardown and hold no locks needed by cleanup while waiting.",
|
|
"Persistent cleanup failure deliberately retains resources and blocks teardown. Finite injected failure is not a liveness proof for permanent failure.",
|
|
"Future engine/IRQ activation requires real quiescence before removal and release. Physical hotplug and DMA quiescence are unverified.",
|
|
"Guest lifetime tests use EDU plus synthetic V100 admission metadata and one guest-only injected close failure; no NVIDIA GPU is passed through.",
|
|
"SystemMemory configuration remains authenticated kernel/RM state and serialized copied-buffer FFI. Production allocation remains gated by unready GPU state."
|
|
],
|
|
"GPU_execution_proven": false,
|
|
"CUDA_supported": false,
|
|
"full_parity_proven": false
|
|
}
|