Files
nvdriver/reports/gv100-ptimer-service-validation.json
nvidia-driver-rs 4526e6a816 Baseline: validated 30/30 tree with passing Level 7 hardware regression
- 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
2026-11-23 23:48:38 +00:00

54 lines
4.6 KiB
JSON

{
"scope": "Physical GV100 PF legacy PTIMER service facade with per-PCI-owner lock and IRQ BAR0 transport",
"original_instructions": "reports/gv100-ptimer-service-original.json",
"rea_index": "reports/gv100-ptimer-service-rea/index.json",
"fifo_deadline_rea_index": "reports/gv100-fifo-deadline-rea/index.json",
"reproduction": [
"Run tools/check_gv100_nonstall_binary.py with the REA Python environment against the extracted, hash-pinned original ELF.",
"Point NV_RS_GV100_PTIMER_SERVICE_ORACLE at target/gv100-stall/original-ptimer-service.txt and NV_RS_GV100_PTIMER_ORACLE at target/gv100-stall/original-ptimer-ack.txt, then run cargo test --workspace compare_original_ptimer -- --ignored.",
"Run tools/test_pci_bridge.sh, make modules, make -C src/nvidia audit-codegen and python3 tools/check_native_codegen.py.",
"After verifying the module build, run tools/run_live_control.py as root with its explicit empty target."
],
"original_findings": [
"_nv059625rm selects alarm/countdown, takes the lock, tests and conditionally acknowledges PTIMER, unlocks, then synchronously invokes a nonnull callback with the same GPU and thread state. Callback return status does not change the interrupt claim.",
"_nv055508rm registers _nv015998rm via _nv059643rm; _nv055496rm clears registration during the selected FIFO teardown path.",
"_nv015998rm checks the earliest FIFO deadline under a separate FIFO lock, removes an expired entry and clears its queued marker, releases that lock before lookup and expiry dispatch, and repeats. _nv016000rm rearms a nonempty queue under the FIFO lock. The latter clamps now+10000 against u64 overflow, chooses the max with the next deadline, then selects absolute alarm or relative countdown using the FIFO and timer mode bytes.",
"_nv015999rm forms the intrusive FIFO tree key as ((now + interval) & ~255) + group ID with machine-width addition. It removes a previously queued node before reinserting and calls the rearm routine after unlocking. Treat key ordering and identity as independently verifiable behavior before selecting a replacement collection."
],
"verification": {
"workspace_tests_passed": 483,
"original_nonstall_instruction_cases": 88,
"original_ptimer_ack_instruction_cases": 8,
"original_ptimer_service_instruction_cases": 20,
"c_pci_mock_checks": 93,
"strict_core_clippy": true,
"make_check_passed": true,
"make_check_log": "reports/gv100-ptimer-service-check.log",
"production_module_build": true,
"audit_roots": 51,
"audit_largest_frame_bytes": 824,
"empty_target_live_control_passed": true,
"original_gpu_bindings_unchanged": 8
},
"limits": [
"The comparison models MMIO, lock primitives and the registered callback body. The lock trace verifies ordering; its fixture does not measure contention or real hardware delivery.",
"The actual Linux wrapper and raw lock pass production compilation and the compile-only audit. The live module has no caller for the new PTIMER service and was loaded with an empty PCI target.",
"FIFO deadline ownership, callback dispatch/rearm, shared locking for concurrent PTIMER programming, and first-open IRQ lifetime integration remain required. No NVIDIA GPU executed through the replacement."
],
"sha256": {
"src/nvidia/src/gpu/timer/interrupt.rs": "1afeefb50e034230aea196d6fa3ab43fd411e4cc2c3880d668abc0b168b4c0c5",
"src/nvidia/src/gpu/timer/interrupt_tests.rs": "3d7247f415b4a379d2ac9c854bcb338397c691a8f224f1f03f2dda3e39161692",
"src/nvidia/kernel/timer.rs": "ed36df15664a4b098f9990829e0dbe2ee349830faded9bfd4a27181113ec9c19",
"src/nvidia/kernel/pci.rs": "a9feec05ac8d2849aa4e6f03b0930c62617cec39fed84633bcfb36b8efb7fdba",
"src/nvidia/kernel/pci_mock.h": "74e7292676eb601197830185988ddf6b62ca4f8c1efb40f1fe6c38aed4ef7690",
"src/nvidia/kernel/pci-fixtures.c": "3e5497a8478e800fce72ba7c76ac6f89c668bdc23b1f4089aef013e22de7906c",
"src/nvidia/kernel/codegen_audit.rs": "38f1275df6270851d65bfc569b57cd6eab3275e5a2ad33a9689d879b858361f5",
"kernel-open/nvidia/pci_adapter.c": "93443712cb3cc07bbf0d477a8cba3f483cc843fcc09221a839a0f3c167cfbf83",
"kernel-open/nvidia/pci_adapter.h": "bd8fc8cb5f91c83bfb8f2c18a22dcb783baca1ed3221e1e29c14a7bc0c2af429",
"tools/check_gv100_nonstall_binary.py": "c88978c9f3c32a9d7254861935b0fbcb15fbc31c9a88bf3407fa402dea8b03d1",
"target/gv100-stall/original-ptimer-service.txt": "e7a4a6583849d754d1a8c5739ab46dec5362b630d1b11b654d1af270c88a4405",
"target/codegen/audit.o": "dee7090d275be5554087754e3d765b09fe0a4c35caa0ba9886982bb12ea95669",
"kernel-open/nvidia_rs.ko": "fd7657a948a5844b7a20c960adc5dea9862ea1ce7632db7d26259491a5daaeb8"
}
}