Files
nvdriver/reports/gpu-intr-init-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

50 lines
5.1 KiB
JSON

{
"scope": "GV100 Intr ConstructEngine, StatePreInitLocked (with the table initialiser bound at Intr+0x320), StateInitLocked and StateInitUnlocked bodies",
"original_artifact_sha256": "5269a23ffba19a17fe16f076463e7ad4151254659441d1711bee6c6221ff6f4b",
"implemented": [
"Core gpu::intr_init::construct_engine implements _nv037522rm: clears Intr+0x1640, +0x1668 and +0x1670, sets Intr+0x3f5, initialises the vector at Intr+0x430 (element size 0x10), the list at Intr+0x15c0 (node size 0x28) and the vector at Intr+0x15e8 (element size 8), and returns the status of the first failed vector init.",
"gpu::intr_init::pre_init_locked implements _nv037777rm: clears the seven words at Intr+0x1608, runs the table initialiser, on success clears the 0x10c8-byte service table at Intr+0x450, registers every GPU child of class 0x2271cc and calls GPU+0x160; it clears the list at Intr+0x15c0 on both paths.",
"gpu::intr_init::init_interrupt_table implements _nv037667rm (Intr+0x320) as bound on GV100: rejects stale Intr+0x1518 allocations, Intr+0x1540 counts or a non-empty Intr+0x430 vector with 0x40, calls Intr+0x310 with flags 3, and frees and clears the five allocation/count pairs on every failure.",
"gpu::intr_init::init_locked implements _nv037772rm: Intr+0x16cc, +0x16c8, +0x16b8 = 1, Intr+0x1684 and GPU+0xdec = 0xffffffff, (GPU+0x1f90)+0x4a0 = 0xff when that object exists, and bit 2 of a 0xb3-bit vector copied to Intr+0x1688 when Intr+0x3f6 is set.",
"gpu::intr_init::init_unlocked implements _nv037773rm: the registry values RMIntrDetailedLogs, RMDisablePerIntrDPCQueueing, RMIntrLockingMode and RM654663 select Intr+0x3f0, byte 0x3f5 of every GPU's Intr, Intr+0x3f6 and Intr+0x1678."
],
"services_not_implemented": [
"Intr+0x310 _nv037657rm (932 bytes, builds the interrupt table through Intr+0x318, +0x330 and +0x338) is a trait method of the PreInit body; none of its logic is implemented here.",
"Vector and list construction and clearing (_nv060222rm, _nv042695rm, _nv042691rm), freeing (_nv052701rm), the GPU child iterator (_nv030645rm), each child's registration method at table+0x18, GPU+0x160, the registry read (_nv049786rm), the GPU mask and instance iterator (_nv031415rm, _nv031424rm) and diagnostics (_nv047869rm, _nv046747rm) are trait methods.",
"No body reaches the masking or routing leaves in gv100_stall, gv100_nonstall or gv100_stall_routes directly; any such use is behind Intr+0x310."
],
"binary_corrections": [
"ConstructEngine also initialises a list at Intr+0x15c0 and a second vector at Intr+0x15e8; the public intrConstructEngine_IMPL has only the Intr+0x430 vector.",
"StatePreInitLocked calls _nv042691rm on the Intr+0x15c0 list on both the success and the failure path; the public source has no such step.",
"Intr+0x320 on GV100 is _nv037667rm, which checks five allocation/count pairs and delegates to Intr+0x310 with flags 3; it is not the public intrInitInterruptTable_KERNEL control-call body.",
"The pseudocode drops the arguments of the Intr+0x320 call (GPU, Intr) and shows RMIntrLockingMode reusing the previous registry output slot without clearing it; the disassembly confirms both."
],
"verification": {
"original_intr_init_cases": 1613,
"cases_per_body": {"_nv037522rm": 5, "_nv037777rm": 450, "_nv037772rm": 6, "_nv037773rm": 1152},
"oracle_sha256": "817add9a315bbfeb6dcf25461b6638ae91da30c65577bd406c5663ec56078f04",
"original_functions_executed": 13,
"original_functions_hooked": 16,
"branch_counts": "reports/gpu-intr-init-original.json field `branches`",
"module_tests_passed": 5,
"workspace_tests_passed": 543,
"strict_clippy_and_format_passed": true
},
"limits": [
"Intr stage bodies are not called from first open. Every service result in the comparison is fixture-supplied.",
"init_interrupt_table is specific to the GV100 binding: _nv037608rm (Intr+0x108) returned status 0 and count 0 for all five indices, so its failure branch, the allocation of count*12 bytes and the allocation-failure branch (0x51) of _nv037667rm were never executed and are not implemented.",
"Successful PreInit was exercised by 3 cases (0, 1 and 3 registered children) and the Intr+0x310 failure by 6; the remaining 441 PreInit cases are the two precondition failures.",
"The effect of child registration and GPU+0x160 on the service table is a fixture marker; the table layout is not modelled.",
"In the InitUnlocked comparison the GPUs returned by the instance iterator are separate fixture objects; the case where the iterator returns the GPU whose own Intr+0x3f5 is being set goes through the same trait method and was not distinguished.",
"The null-argument and size-mismatch branches of the bit-vector helpers (_nv017883rm, _nv017897rm, _nv017887rm) and of the vector emptiness test _nv060224rm are unreachable from these bodies and were not executed.",
"A registry read that reports success without storing a value is not modelled."
],
"tested_sources_sha256": {
"src/nvidia/src/gpu/intr_init.rs": "1230baf2b0de6714d6b10facfb5ccc7f8c14e55acd40ea28e0686960324b368f",
"tools/check_gpu_intr_init_binary.py": "a6e6f1ac1ae4ab94fc42c53dd99eaf80eeb82e9e493df27a9832aca508ccd32e"
},
"reports": [
"reports/gpu-intr-init-original.json"
]
}