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
174 lines
12 KiB
JSON
174 lines
12 KiB
JSON
{
|
|
"scope": "Bring-up level 7 (OBJACR Load on SEC2 followed by OBJACR Unload on the PMU) on a GV100. All thirteen inputs of the earlier list are settled and the level is wired and executable. IT HAS NEVER RUN ON HARDWARE: no agent may run it, and under CLAUDE.md it needs the user's explicit confirmation as an experiment that can leave a GPU the original driver cannot initialize.",
|
|
"original_artifact_sha256": "5269a23ffba19a17fe16f076463e7ad4151254659441d1711bee6c6221ff6f4b",
|
|
"evidence_classes": "A = instructions read (REA Ghidra procedure_assembly), B = original binder or creator executed in isolation (chip HAL 0x23, RM HAL 2), D = pseudocode only, S = public or shipped source, T = physical transcript, E = original instructions executed by a harness, I = inference.",
|
|
"level_state": {
|
|
"file": "src/nvidia/kernel/acr_bringup.rs (level), src/nvidia/kernel/adapter_start.rs (upper_levels: levels 5 to 7 inside the BAR2 step when bringup >= 7)",
|
|
"behaviour": "Refuses with one note 0x41430002 per missing input before its first register write; otherwise gate, load, logged results, unload, region read-back, alarm note 0x414300ff = 0xdead0007 if a region still reads as set or the unload status is not 0, cleanup; then the BAR2 unbind, FIFO state as level 6 left it, PMC and bus-mask restore as before. For bringup <= 6 nothing changed.",
|
|
"never_run_on_hardware": true
|
|
},
|
|
"inputs": {
|
|
"1": {
|
|
"state": "settled",
|
|
"original": "Falcon+260 _nv028420rm (_nv028536rm, _nv060601rm, space+e0 _nv004253rm, _nv040832rm), Falcon+270 _nv028379rm (_nv044111rm, _nv026096rm, walker, callbacks _nv013503/06/08/09/11/12rm, _nv040843rm), Falcon+268 _nv028781rm (_nv026107rm, space+e8 _nv004257rm, _nv060602rm)",
|
|
"gv100": "instance block +0x208 = 0x20000fff, +0x204 = 0x7, +0x200 = 0xfdf77c00; root 0x7fdf7602, directories 0x7fdf7502, 0x7fdf7402, dual entry (0, 0x7fdf7302), page entries 0x7fdf7901..0x7fdf7d01 on the traced case; the inferred values were right; teardown attribution and release order corrected",
|
|
"evidence": "E (257 original functions, 36 cases, 5,855 events equal), T",
|
|
"rust": "gpu::acr_load_bar2 (compare_original_falcon_vaspace)",
|
|
"still_fixture": "BAR2 mapping cache, write-combine flush placement, level allocation failures, instance block outside the framebuffer"
|
|
},
|
|
"2": {
|
|
"state": "settled",
|
|
"original": "_nv006537rm (creator), _nv039060rm",
|
|
"gv100": "Jtag+108 = 1; +100 reads 0x1373a0, true when bit 3 is clear (traced 0xa: false)",
|
|
"evidence": "D, E (7 cases), T line 141023",
|
|
"rust": "gpu::acr_inputs::jtag_slot_100, GV100_JTAG_108"
|
|
},
|
|
"3": {
|
|
"state": "settled",
|
|
"original": "_nv039656rm frees the BAR2 test page inside the test [A]; PMU InitLocked _nv051858rm -> _nv052270rm -> _nv052299rm requests the PMU instance block (0x1000, 4 KiB pages) and keeps it at PMU+ca8; _nv052272rm binds it (lines 147342-147346)",
|
|
"gv100": "0x7fdf7e000 is the PMU instance block; HS image 0x7fdf79000, SEC2 instance block 0x7fdf78000, root 0x7fdf77000 follow from the heap model",
|
|
"evidence": "A, E (1,081 direct rows of the placement oracle), T",
|
|
"rust": "mmu::placement::init_locked, hs_image_request, FALCON_INSTANCE_BLOCK_REQUEST, PAGE_LEVEL_REQUEST",
|
|
"correction": "The earlier text of this report and of section 9 said the page is free at the PMU launch and might be the BAR2 test page; that was wrong."
|
|
},
|
|
"4": {
|
|
"state": "settled",
|
|
"original": "_nv031156rm, GPU+2c8 _nv031157rm, _nv030927rm",
|
|
"gv100": "0 at first open (no bit 23:8 of GPU+908); 0x10, 0xf, 0x11 as in the notes",
|
|
"evidence": "A, E (2,464 cases)",
|
|
"rust": "gpu::acr_inputs::gpu_check (PCI lookup branch refused)"
|
|
},
|
|
"5": {
|
|
"state": "settled",
|
|
"original": "_nv060173rm",
|
|
"gv100": "register 0x1580 + 4 x index; 0x1598 traced 0x22082045",
|
|
"evidence": "E (24), T line 140590",
|
|
"rust": "gpu::acr_inputs::vbios_slot_238"
|
|
},
|
|
"6": {
|
|
"state": "settled (body); page allocation is part of 9",
|
|
"original": "_nv041589rm, _nv041625rm, _nv041610rm",
|
|
"gv100": "KernelMemorySystem at GPU+1ec8; GPU+e00 is IS_VIRTUAL (0); one 32-bit-addressable system page, address >> 8 to 0x100c10",
|
|
"evidence": "E (60), T lines 73936-73937 and 138803-138804, S by structure",
|
|
"rust": "gpu::acr_inputs::flush_buffer (second request path refused)"
|
|
},
|
|
"7": {
|
|
"state": "settled",
|
|
"original": "_nv031481rm",
|
|
"gv100": "services only an attached GPU whose Intr+430 vector has entries; empty before Intr InitLocked, as in the original's own PreInit unlock",
|
|
"evidence": "A, E (972)",
|
|
"rust": "gpu::acr_inputs::interrupt_service"
|
|
},
|
|
"8": {
|
|
"state": "identified, not reproduced",
|
|
"original": "_nv009524rm -> _nv028796rm",
|
|
"gv100": "Falcon debug capture after a timed-out wait; no effect on the returned status",
|
|
"evidence": "D; relocation table for the two vtable slots"
|
|
},
|
|
"9": {
|
|
"state": "settled and wired",
|
|
"finding": "32-bit DMA context (dma_alloc_coherent) for the unload image and the flush page; bus mastering enabled for the duration of level 7 and restored; 0x100c10 saved and restored",
|
|
"evidence": "S (shipped interface layer), T (0x88004 read-backs), guest tests of the DMA adapter",
|
|
"not_observed": "that the PMU fetches the image through DMA index 4 from this address on hardware"
|
|
},
|
|
"10": {
|
|
"state": "settled",
|
|
"original": "_nv016731rm, _nv005809rm, _nv016960rm",
|
|
"gv100": "+37b 0, +37f 1, +385 1 (the level uses 0, declared deviation), +386 1, +38b 0, +390 0, +391 0, +529 0 without registry keys and with fuse bit 0 set",
|
|
"evidence": "E (1,127 constructor cases; PreInit in the lsfm_mask oracle); D for PMU+9a2 and the PMU state word",
|
|
"rust": "gpu::acr_inputs::acr_construct_gv100"
|
|
},
|
|
"11": {
|
|
"state": "settled",
|
|
"gv100": "Lpwr+234 = 1 and the child function _nv051199rm does nothing while child+3c4 is clear (never set on GV100); MemorySystem+8ccf = 0; OBJVBIOS+2d8 = 1",
|
|
"evidence": "B, E (6), D"
|
|
},
|
|
"12": {
|
|
"state": "settled by decision",
|
|
"finding": "reserved[1..3] of RM_FLCN_BL_DMEM_DESC for both steps, argc and argv for the unload; all reach DMEM; zeros will be passed; the original's value is undefined here",
|
|
"evidence": "S, E, T (load only)"
|
|
},
|
|
"13": {
|
|
"state": "settled and wired",
|
|
"finding": "BAR2 bound from level 4 through level 7; request order primary, shadow, PMU instance block, PMU super surface (0x207a00 from _nv052179rm -> _nv052177rm on GV100), runlist buffers, HS image, SEC2 instance block, five page levels",
|
|
"evidence": "E (pmu surface oracle 1,305 cases; placement oracle 11,427 rows), T",
|
|
"residual": "the surface at PMU+f08 (_nv052623rm) exists only under predicates of the PMU object tree and is system memory by default [I]"
|
|
}
|
|
},
|
|
"oracles": {
|
|
"cross_object_inputs": {
|
|
"harness": "tools/check_gpu_acr_inputs_binary.py",
|
|
"oracle": "target/gpu-stage/original-acr-inputs.txt",
|
|
"sha256": "bb32be8ca8f659953271c3f1db0ad06d147a6007b9a23c637e07c4537f938faf",
|
|
"cases": 3533,
|
|
"cases_by_kind": {
|
|
"G gpu check": 2464,
|
|
"J jtag": 7,
|
|
"V vbios": 24,
|
|
"P lpwr child": 6,
|
|
"F flush buffer": 60,
|
|
"S interrupt service": 972
|
|
},
|
|
"test": "gpu::acr_inputs::tests::compare_original_acr_inputs (ignored; NV_RS_ACR_INPUTS_ORACLE)",
|
|
"result": "3,533 of 3,533"
|
|
},
|
|
"constructor": {
|
|
"harness": "tools/check_gpu_acr_construct_binary.py (environment of tools/check_gpu_lsfm_mask_binary.py)",
|
|
"oracle": "target/gpu-stage/original-acr-construct.txt",
|
|
"sha256": "d1d49aaafb38f9ffa60561860ec75fd741d19da14c953e679fd7e25da90bb432",
|
|
"cases": 1127,
|
|
"test": "gpu::acr_inputs::tests::compare_original_acr_construct (ignored; NV_RS_ACR_CONSTRUCT_ORACLE)",
|
|
"result": "1,127 of 1,127"
|
|
},
|
|
"load": "see reports/gpu-acr-load-validation.json, oracle_correction_2026_11_19",
|
|
"falcon_address_space": {
|
|
"harness": "tools/check_gpu_falcon_vaspace_binary.py",
|
|
"oracle": "target/gpu-stage/original-falcon-vaspace.txt",
|
|
"sha256": "432be6099b8a7e1cd8a70bba312b7d70488796158e7cfd19b008c4ead06c2cef",
|
|
"cases": 36,
|
|
"test": "gpu::acr_load_bar2::tests::compare_original_falcon_vaspace (ignored; NV_RS_FALCON_VASPACE_ORACLE)"
|
|
},
|
|
"pmu_surface_size": {
|
|
"harness": "tools/check_gpu_pmu_surface_size_binary.py",
|
|
"oracle": "target/gpu-stage/original-pmu-surface-size.txt",
|
|
"sha256": "ba617bc8c9e64cd6c52f90ef1409da20199615af858898643b50bf16cbf1a7a3",
|
|
"cases": 1305,
|
|
"test": "gpu::pmu_surface_size compare_original_pmu_surface_size (ignored; NV_RS_PMU_SURFACE_SIZE_ORACLE)"
|
|
},
|
|
"placement": {
|
|
"harness": "tools/check_gpu_memory_placement_binary.py",
|
|
"old_sha256": "9205a3b083b8f9f4ab0f1591606cf7bbea2b29bea9b873d078baa50990978f24",
|
|
"new_sha256": "cf8be28dc8ce65c8384e9b0c78395f3fdd0c8edb148f1ff4eeb9df40c217fda6",
|
|
"rows": 11427,
|
|
"note": "the first 10,346 rows are unchanged"
|
|
}
|
|
},
|
|
"report_tool": "tools/run_hardware_first_open.py: names every level 7 note, compares with ACR_EXPECTED (load part from the transcript), sets regions_cleared_after_unload, and reports passed = false with a banner when that is not true after a load, or when note 0x414300ff is present.",
|
|
"safety": "CLAUDE.md requires an explicit confirmation for an experiment that can leave a GPU the original cannot initialize. Level 7 is one; the unload has emulation evidence only. Do not run it under the standing approval once it becomes executable.",
|
|
"notes": "analysis/closed-driver-580/acr-load-implementation-notes.md, section 9",
|
|
"declared_deviations": [
|
|
"shadow copy through CPU mappings (OBJACR+385 = 0) instead of the copy-engine channel of the traced run",
|
|
"bus mastering on only during level 7 (the original: from probe)",
|
|
"the Falcon debug capture after a timed-out wait is replaced by note 0x41430043",
|
|
"boot descriptor words the original leaves uninitialised are zero",
|
|
"the PMU instance block and super surface are heap-model reservations only (no LS PMU start on this path)"
|
|
],
|
|
"expected_notes_successful_run_traced_v100": "analysis/closed-driver-580/acr-load-implementation-notes.md, section 11.5; tools/run_hardware_first_open.py ACR_EXPECTED",
|
|
"gpu_state_at_failure_points": "the same notes, section 11.4",
|
|
"code_generation": "The executing path is in the module object and passes tools/check_kernel_module.py (no memcpy/memset calls, largest frame 1,000 bytes). Core changes for that: wpr_blob::compose_into / compose_gv100_into (out-parameter, clients over two frames; wpr blob oracle and trace tests pass), mmu::table_store link array initialised in place.",
|
|
"validation": {
|
|
"tools_validate_all_sh": "30 of 30 steps PASS after the last source change (fmt, clippy, 613 workspace tests, bridges, modules with the code-generation check, audit, native codegen, both QEMU guest runs, result gate, live empty-target smoke)",
|
|
"modules_sha256": {
|
|
"kernel-open/nvidia_rs.ko": "23ebd3d604bf77d65754a2b276e7b7f49f0dda4a3e674262ef4cc969fa13cd4e",
|
|
"target/vm-module/nv_rs_edu_test.ko": "3aa041c028e46436d6b4ffe29c7bdcc22945a3ed87c3ee4cfa254d53f233df0a"
|
|
},
|
|
"ignored_tests": "acr_load 573 rows, acr_unload 171, acr_load_bar2 transcript and falcon address space (36 cases), acr_wpr_region 4,081, acr_inputs 3,533 and 1,127, wpr_blob oracle and trace, memory placement 11,427 rows, pmu surface size 1,305, bar2_setup: all pass",
|
|
"not_validated": "The level itself has no test: neither the guest runs nor any host test executes acr_bringup::run. Its register sequence on hardware is the composition of core routines that are each compared with the original, through providers that were only compiled and reviewed.",
|
|
"note": "Other agents were adding core modules during the run; the module hash is that of the tree at the time."
|
|
},
|
|
"correction_2026_11_19_level_renumbering": {
|
|
"date": "2026-11-19",
|
|
"change": "The ACR level is bring-up level 8 from this date; level 7 is the Graphics InitLocked + load + unload level (reports/gpu-graphics-level-validation.json). Where this report says level 7 or bringup=7, read level 8 and bringup=8. Its stage note values 4143_0001 = 0007_0000 / 0007_0001 are now 0008_0000 / 0008_0001; every other note code and value is unchanged. bringup=8 does not run the Graphics level, so the sequence described here is unchanged."
|
|
}
|
|
}
|