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
176 lines
8.7 KiB
JSON
176 lines
8.7 KiB
JSON
{
|
|
"status": "owned_Linux_nano_timer_and_GPU_lifetime_VM_verified",
|
|
"passed": true,
|
|
"module_sha256": "2eb4c478e746703aa37358e1ff1cf501ed3babe681e82a532993fe40024dbc14",
|
|
"workspace_tests_checkpoint": 387,
|
|
"VM_cases": [
|
|
{
|
|
"checks": 123,
|
|
"rust_backing_checks": 35,
|
|
"gpu_cleanup_retries": 1,
|
|
"gpu_register_checks": 11,
|
|
"gpu_operation_checks": 22,
|
|
"dma_poll_reads": 16,
|
|
"host_os_checks": 9,
|
|
"host_irq_checks": 8,
|
|
"thread_state_checks": 12,
|
|
"nano_timer_checks": 29,
|
|
"rom_cpu_checks": 5,
|
|
"fault_word_checks": 45,
|
|
"rom_fw_checks": 947,
|
|
"rom_fw_uc_pages": 133,
|
|
"rom_fw_cached_pages": 2,
|
|
"rom_fw_wb_pages": 135,
|
|
"rom_fw_wb_retries": 1,
|
|
"rom_fw_dma_bytes": 12305,
|
|
"rom_fw_removed": 1,
|
|
"dma_roundtrip_bytes": 64,
|
|
"irq_mode": 2,
|
|
"iommu_dma_domain": false,
|
|
"gpu_parity": false
|
|
},
|
|
{
|
|
"checks": 123,
|
|
"rust_backing_checks": 35,
|
|
"gpu_cleanup_retries": 1,
|
|
"gpu_register_checks": 11,
|
|
"gpu_operation_checks": 22,
|
|
"dma_poll_reads": 16,
|
|
"host_os_checks": 9,
|
|
"host_irq_checks": 8,
|
|
"thread_state_checks": 12,
|
|
"nano_timer_checks": 29,
|
|
"rom_cpu_checks": 5,
|
|
"fault_word_checks": 45,
|
|
"rom_fw_checks": 947,
|
|
"rom_fw_uc_pages": 133,
|
|
"rom_fw_cached_pages": 2,
|
|
"rom_fw_wb_pages": 135,
|
|
"rom_fw_wb_retries": 1,
|
|
"rom_fw_dma_bytes": 12305,
|
|
"rom_fw_removed": 1,
|
|
"dma_roundtrip_bytes": 64,
|
|
"irq_mode": 4,
|
|
"iommu_dma_domain": false,
|
|
"gpu_parity": false
|
|
},
|
|
{
|
|
"checks": 123,
|
|
"rust_backing_checks": 35,
|
|
"gpu_cleanup_retries": 1,
|
|
"gpu_register_checks": 11,
|
|
"gpu_operation_checks": 22,
|
|
"dma_poll_reads": 16,
|
|
"host_os_checks": 9,
|
|
"host_irq_checks": 8,
|
|
"thread_state_checks": 12,
|
|
"nano_timer_checks": 29,
|
|
"rom_cpu_checks": 5,
|
|
"fault_word_checks": 45,
|
|
"rom_fw_checks": 947,
|
|
"rom_fw_uc_pages": 133,
|
|
"rom_fw_cached_pages": 2,
|
|
"rom_fw_wb_pages": 135,
|
|
"rom_fw_wb_retries": 1,
|
|
"rom_fw_dma_bytes": 12305,
|
|
"rom_fw_removed": 1,
|
|
"dma_roundtrip_bytes": 64,
|
|
"irq_mode": 2,
|
|
"iommu_dma_domain": true,
|
|
"gpu_parity": false
|
|
},
|
|
{
|
|
"checks": 123,
|
|
"rust_backing_checks": 35,
|
|
"gpu_cleanup_retries": 1,
|
|
"gpu_register_checks": 11,
|
|
"gpu_operation_checks": 22,
|
|
"dma_poll_reads": 16,
|
|
"host_os_checks": 9,
|
|
"host_irq_checks": 8,
|
|
"thread_state_checks": 12,
|
|
"nano_timer_checks": 29,
|
|
"rom_cpu_checks": 5,
|
|
"fault_word_checks": 45,
|
|
"rom_fw_checks": 947,
|
|
"rom_fw_uc_pages": 133,
|
|
"rom_fw_cached_pages": 2,
|
|
"rom_fw_wb_pages": 135,
|
|
"rom_fw_wb_retries": 1,
|
|
"rom_fw_dma_bytes": 12305,
|
|
"rom_fw_removed": 1,
|
|
"dma_roundtrip_bytes": 64,
|
|
"irq_mode": 4,
|
|
"iommu_dma_domain": true,
|
|
"gpu_parity": false
|
|
}
|
|
],
|
|
"VM_unique_assertions_per_case": 123,
|
|
"VM_nano_predicates_per_case": 29,
|
|
"VM_CPU_ROM_predicates_per_case": 5,
|
|
"VM_CPU_ROM_bytes": 524289,
|
|
"production_C_timer_symbols_present": true,
|
|
"live_software_control_checks": 116,
|
|
"software_differential_cases": 42,
|
|
"physical_NVIDIA_bindings_unchanged": true,
|
|
"original_Linux_source": {
|
|
"path": "/home/geodd/nvidia-driver/analysis-580.178.04/reference/open-gpu-kernel-modules-580.178.04/kernel-open/nvidia/nv-nano-timer.c",
|
|
"sha256": "acb7c1d66e062d1c006b6d963214cd64ed7cbbeb6e95975ca283b7b5fd850549",
|
|
"semantics": "Relative CLOCK_MONOTONIC hrtimer, ktime_set(0,u64ns), one-shot callback, synchronous cancel before free. RM event wrapper min1ns is separate."
|
|
},
|
|
"original_RM_dispatch_evidence": "reports/nano-timer-runtime-dependencies.json",
|
|
"independent_review": "reports/nano-timer-independent-review.json",
|
|
"source_snapshot_sha256": {
|
|
"src/nvidia/kernel/nano_timer.rs": "473159348f1aea37b7219b222465afe83447572be607ca4c2212d974de12f620",
|
|
"kernel-open/nvidia/nano_timer_adapter.c": "4180d1719cdd4ef1f3112b9964832b1ac409083db27f97ae4a21efcd415310b6",
|
|
"kernel-open/nvidia/nano_timer_adapter.h": "7629c7dfc2bac5c20a013c333a8dbb043d09840b6a6e1eb1435f946f6f17e136",
|
|
"src/nvidia/kernel/system_memory_ffi.rs": "59a32ba873bd869d299dde14649c30a000362cf6790902532b774c1297650ef2",
|
|
"src/nvidia/kernel/lib.rs": "1dc36bba36237e4dedb773fb0ce28dfef97f10cdd8cff755ca00e070288a8335",
|
|
"src/nvidia/Makefile": "7dd27746491fb43e08bfb87b275b68f29a725634aa2c84dbee8bce99fa6bbccf",
|
|
"kernel-open/Kbuild": "e13d242f1d6d18731f1b0c8d05c082619839c7085fb13626d498cac64c8e50ce",
|
|
"src/nvidia/kernel/verify-object.py": "066f6f4cdc4b1ec71cb07f515211482e99a1c974b6d640f3ab887694063f07b5",
|
|
"tests/vm/nano_timer.rs": "588f8bf368b5a1d2bcb90705987d3d0f83f12d8ab60460fa44d6df2d410308a2",
|
|
"tests/vm/rom_cpu_test.c": "941a2c91238f49fdeba3e6b230ef1876703d48e80b6167d29729c27a44c479ee",
|
|
"tests/vm/rust_backing.rs": "4871bdb6326778ec9d7a3b294fe95a85d1fe71b54614a5d8cfd654133cce1c40",
|
|
"tests/vm/edu_adapter_test.c": "f2b45760d83886c3e6c994efe9666d1a7ca65868e03b64960052a0d1a9531037",
|
|
"tools/vm/build_guest_test.sh": "a4f2be96cc3d8d22c640d751417c1688144404fdc934b4637044d33e6300c345",
|
|
"tools/vm/guest_results.py": "5a76292e6d8e4c1d8e945e32936dfa2d123e6ffdfdeaf0acf65e4f8899769524",
|
|
"tests/vm/test_result_gate.py": "4d0ee187d35bf685ddc6993f64f06166fc17cb79bb6fb6572bf297e14d16b941",
|
|
"tests/vm/README.txt": "3bad43e2b3ed2795f18cc9c7af590a68f74b9847cd030fe544bb98247ee2824e",
|
|
"README.txt": "3f9a477e61e13096996b257de5bf82c16b519f1bf758c727312dd4f6f97443a5",
|
|
"Makefile": "245e91592fecbf199621386c2543f1bcaeb728994a09b161a49282068068a957"
|
|
},
|
|
"checks": {
|
|
"module_build_exit_code": 0,
|
|
"main_object_exit_code": 0,
|
|
"live_control_exit_code": 0,
|
|
"make_check_exit_code": 0,
|
|
"host_adapter_suite_exit_code": 0,
|
|
"actual_VM_kernel_clippy_exit_code": 0,
|
|
"VM_result_gate_exit_code": 0,
|
|
"additional_cache_source_original_check_exit_code": 0,
|
|
"additional_Linux_registry_leaf_check_exit_code": 0
|
|
},
|
|
"kernel_clippy_scope": "Actual no_std guest crate and providers; existing fixture FFI safety-doc and large-owning-error lints allowed at invocation. Nano create has focused retained-error allowance.",
|
|
"codegen_regression": {
|
|
"rejected_checkpoint": "reports/checkpoints/nano-rejected-got-db5b2d3085de",
|
|
"cause": "Wrapping SysMem preparation Result in ManuallyDrop introduced a second large move lowered to unsupported GOTPCREL memcpy in main kernel build.",
|
|
"fix": "Preserved original explicit mem::forget ownership transfer, with a focused documented lint allowance. Static check is a mandatory gate before any subsequent live load."
|
|
},
|
|
"limits": [
|
|
"The actual OS timer uses synthetic atomic-counter callbacks in the guest. Original RM ISR/deferred threadState, actual NvState/GPU/TMR/event ownership, queued-work references, callback059567 and StateLoad restoration remain required.",
|
|
"Creation/cancel/destroy require process context; start supports IRQ-disabled context and is tested there. Same-owner teardown is exclusive. Internal C locks alone do not make a waiter racing destroy/free safe.",
|
|
"Callback is Sync and static-owned. Cancel joins only this timer callback; independently queued work must own its own data/GPU/module references and be joined by its own lifecycle.",
|
|
"Invalid-context explicit close retains the usable owner and is tested. Invalid-context Drop deliberately retains payload/registration/module pin; leaking Drop is reviewed but not deliberately left behind in guest clean-unload tests.",
|
|
"Pending cancellation, actual callback delivery and repeated close are tested. Cancellation while a deliberately blocked callback is running and exhaustive restart/cancel races remain additional validation work.",
|
|
"Actual Linux5.15.0-202 x86_64/KVM timer behavior is measured. Other kernels, RT variants, low-memory allocation failures and actual RM event semantics require further coverage.",
|
|
"The CPU ROM allocation test verifies524289 bytes and representable-size rejection. PROM acquisition and physically contiguous firmware DMA bounds remain separate; the latter is still capped512KiB.",
|
|
"Nano C primitives are linked and checked in the production module. The complete GPU timer factory does not yet invoke the private Rust owner; unused Rust helper bodies may be eliminated.",
|
|
"Guest input binaries are exact and retained. Source snapshots are scoped; independent source work means this is not a hermetic full-tree build manifest.",
|
|
"No physical NVIDIA timer/MMIO initialization, GPU command submission, CUDA execution or full hardware/feature parity is claimed."
|
|
],
|
|
"full_driver_complete": false,
|
|
"CUDA_supported": false,
|
|
"immutable_checkpoint": "reports/checkpoints/nano-timer-2eb4c478e746"
|
|
}
|