mirror of
https://github.com/QuixiAI/nvdriver.git
synced 2026-12-06 14:38:47 +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
90 lines
6.9 KiB
JSON
90 lines
6.9 KiB
JSON
{
|
|
"scope": "Base GPU StatePostLoad pass _nv031219rm in core (matching source gpuStatePostLoad with _gpuSetVgpuMgrConfig and _gpuPropagateP2PCapsToAllGpus inlined)",
|
|
"original_artifact_sha256": "5269a23ffba19a17fe16f076463e7ad4151254659441d1711bee6c6221ff6f4b",
|
|
"implemented": [
|
|
"Core gpu::base_post_load implements the control flow of _nv031219rm: the performance-counter read, the GPU+23b0 object method (+1d8 with argument 2, gated on bytes GPU+e01 and GPU+e02 clear and object byte 260), the per-engine PostLoad loop (vtable +70, transition 6) with lock release and reacquire after each engine, the first-failure record at GPU+6990/GPU+6994 with categories 0x15 and 0x16 and the _nv013524rm transition details, the _nv036619rm branch with _nv042363rm and control 0x2080400b, the P2P propagation gated on GPU+543e and GPU+e01 (three allocations, _nv031400rm, the _nv031424rm loops, _nv000117rm per entry, control 0x20800ab5 per visited GPU object, the control 0x20800ab6 removal pass after a failure, the three frees) followed by _nv042370rm, the GPU+4360 allocation with control 0x2080013f, _nv030360rm, and the GPU+448 tail that sets GPU+97e, calls _nv031135rm and clears GPU+6901.",
|
|
"The 33rd visited GPU object, where the original writes past its 32-entry allocations and parameter blocks, is a caller-supplied capacity sink that ends the pass with an outer error. It is covered by a unit test only."
|
|
],
|
|
"verification": {
|
|
"original_cases": {
|
|
"scalar": 2040,
|
|
"engine_list": 2500
|
|
},
|
|
"original_oracle_sha256": "8a55472c5971c415a898ed3aa01f67e6db8f2248b3670658905f2055f4e0bca2",
|
|
"original_instructions": 517,
|
|
"original_instructions_executed": 509,
|
|
"original_instructions_not_executed": "8 alignment NOPs",
|
|
"oracle_branch_counts": {
|
|
"d:ffe1000": 693,
|
|
"GPU+23b0 method called": 980,
|
|
"d:100b1000": 36,
|
|
"store:6": 299,
|
|
"control 0x2080400b called": 1220,
|
|
"d:fce1000 and d:104f1000": 80,
|
|
"d:f2b0000": 74,
|
|
"d:f310000": 84,
|
|
"d:f370000": 61,
|
|
"free of a null pointer": 145,
|
|
"d:f3b1000": 81,
|
|
"_nv000117rm called": 891,
|
|
"d:f711000": 96,
|
|
"control 0x20800ab5 called": 865,
|
|
"control 0x20800ab5 on this GPU": 698,
|
|
"control 0x20800ab5 on another GPU object": 702,
|
|
"control 0x20800ab5 with zero entries": 21,
|
|
"control 0x20800ab5 with 32 entries": 16,
|
|
"d:f7d1000": 121,
|
|
"control 0x20800ab6 called": 133,
|
|
"control 0x20800ab6 on this GPU": 36,
|
|
"control 0x20800ab6 on another GPU object": 126,
|
|
"d:fac1000": 57,
|
|
"d:10581000": 517,
|
|
"_nv042370rm called": 741,
|
|
"d:105e1000": 105,
|
|
"control 0x2080013f called": 1393,
|
|
"GPU+4360 left set": 1144,
|
|
"d:108b0000 a:108b": 264,
|
|
"GPU+448 called": 2912,
|
|
"_nv031135rm called": 250,
|
|
"GPU+6901 cleared": 547,
|
|
"nonzero returned status": 1364,
|
|
"final GPU+6990": {
|
|
"0": 1946,
|
|
"15": 169,
|
|
"16": 754,
|
|
"77 (preset)": 1671
|
|
}
|
|
},
|
|
"workspace_tests_passed": 533,
|
|
"workspace_tests_ignored": 40,
|
|
"strict_clippy_and_format_passed": true,
|
|
"kernel_module_changed": false
|
|
},
|
|
"binary_corrections": [
|
|
"The public gpuStatePostLoad has no counterpart for the first block of the binary: when bytes GPU+e01 and GPU+e02 are clear, GPU+23b0 is not null and its byte 260 is set, the function pointer at object +1d8 is called with (GPU, object, 2); a nonzero status is logged with code 0x100b1000 and returned as an unknown failure.",
|
|
"The engine-failure and unknown-failure stores are inlined and agree with the public source: with GPU+6990 already populated the binary returns without calling _nv013524rm; otherwise it writes 0x15, calls _nv013524rm and writes 0x16 only if GPU+6990 reads zero afterwards. The gpuLoadFailurePathTest calls of the source are absent from the binary.",
|
|
"_gpuSetVgpuMgrConfig is inlined, so its failure emits two diagnostic pairs (lines 0xfce and 0x104f). _gpuPropagateP2PCapsToAllGpus is inlined with its own diagnostics (0xf2b, 0xf31, 0xf37, 0xf3b, 0xf71, 0xf7d, 0xfac) before the caller's 0x1058.",
|
|
"As in the public source, a failed _nv030360rm returns status 0 after the assert and skips the GPU+448 tail; it is not recorded as a failure.",
|
|
"gpuSetRecoveryRebootRequired is inlined: GPU+97e is set and _nv031135rm(GPU, 0) called only when GPU+97e was clear, and GPU+6901 is cleared either way.",
|
|
"The pseudocode presents the RBP-relative locals as an unknown frame; RBP is a second stack that the function lowers by 0xc0. It also shows the _nv000117rm failure log with an extra pointer argument that the code 0xf711000 does not consume. Its branch structure otherwise matched the instructions."
|
|
],
|
|
"limits": [
|
|
"Every callee is fixture-supplied in the instruction comparison, including the allocator, the GPU iterator, _nv000117rm and all controls. No callee body, engine callback, lock, allocation or hardware access is covered.",
|
|
"The Rust pass treats the three P2P allocations and the GPU+4360 block as opaque identities from the allocate service. It keeps the id list, instance list and both control parameter blocks in fixed 32-entry values of its own and hands them to the control services by reference; it never writes through an allocation. The harness checks the original's memory layout of those blocks (entry offsets, zeroed remainder, _nv000117rm result pointers) and the Rust model checks the same content by value.",
|
|
"The capacity sink has no oracle case: with a 33rd visited GPU object the original overruns its 0x80-byte and 0x504-byte allocations and its 0x84-byte stack block, which the harness does not exercise.",
|
|
"State is a snapshot of the GPU fields. Only _nv013524rm receives it, matching the fixture, which changes GPU+6990 from that hook. A real callee that writes GPU+e00, GPU+543e, GPU+97e or GPU+6990 while the pass runs is not modelled.",
|
|
"The fixture's GPU iterator ignores the mask and returns its listed objects in order, with an optional cap on the total number of objects returned; the cap is what reaches the zero-entry control and the removal loop's null exit. The list holds this GPU at most once. The mask is only compared as an argument.",
|
|
"A failed performance-counter read leaves the original's zero start time; the fixture never writes the counter on failure.",
|
|
"Fields of other GPU objects (byte 52f3, words ca4, c9c, 423c, 4244) are services. For this GPU the original reads ca4 and c9c through either pointer; the model returns the same values for both.",
|
|
"Production first open does not reach this pass. Nothing in the kernel module calls it, gpu::base_load still receives PostLoad as a service, and no service implementation exists outside the test model."
|
|
],
|
|
"tested_sources_sha256": {
|
|
"src/nvidia/src/gpu/base_post_load.rs": "e94ac7c92138f43bcf6b14cb823b210a4c638803ff4ddd540402e57595b1ddc1",
|
|
"src/nvidia/src/gpu/base_post_load_tests.rs": "ad748a0b2510850577f9130dd8f10c96e3e573bf92a447770229368beb2bf8c7",
|
|
"tools/check_gpu_base_post_load_binary.py": "9866b20a31a6973502e3fb0a992adbfe24960ed032692a631da0bbdc887a2b51"
|
|
},
|
|
"reports": [
|
|
"reports/gpu-base-post-load-original.json"
|
|
]
|
|
}
|