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
100 lines
6.1 KiB
JSON
100 lines
6.1 KiB
JSON
{
|
|
"date": "2026-11-19",
|
|
"original_artifact_sha256": "5269a23ffba19a17fe16f076463e7ad4151254659441d1711bee6c6221ff6f4b",
|
|
"evidence_labels": {
|
|
"A": "instructions read (capstone listing of the relocated object through the harness --disassemble; _nv045299rm also through REA Ghidra procedure_assembly, evidence ev_6973066b...)",
|
|
"D": "pseudocode only",
|
|
"T": "physical transcript target/trace/b3-bar0.txt",
|
|
"E": "original instructions executed by the harness",
|
|
"I": "inference"
|
|
},
|
|
"harness_binder_fix": "tools/check_gpu_graphics_load_binary.py (shared by all three harnesses) now pins its binder lists (reports/gv100-engine-hal-bindings.json was regenerated with _nv005883rm and _nv005936rm added, which made the harness rebind Graphics slots with the wrong selector and fail its own transcript assertion) and runs the parent-class binder _nv005997rm on the sub-object (Graphics+100, MemorySystem+100, OBJGMMU+e8, OBJBUS+e8). Oracle bytes did not change: load 23919b0b..., ZBC 1e979f04..., unload ae5b1259..., init 19f96a33....",
|
|
"validation": {
|
|
"cargo_fmt_check": "clean",
|
|
"cargo_clippy_workspace_all_targets_D_warnings": "clean",
|
|
"cargo_test_workspace": "629 passed, 0 failed, 85 ignored",
|
|
"hardware": "none touched; nothing here has run on a GPU"
|
|
},
|
|
"scope": "Graphics StateUnload _nv033671rm -> _nv033670rm.",
|
|
"evidence_category": "instruction emulation only: the physical transcript contains no unload. No hardware executed.",
|
|
"core": {
|
|
"module": "src/nvidia/src/gpu/gr_unload.rs",
|
|
"sha256": "83861d81307e7a1ef53de3e6eb03a437d31d5fe0d6a7da6f0b346815d9d737ed",
|
|
"tests": "src/nvidia/src/gpu/gr_unload_tests.rs",
|
|
"api": [
|
|
"unload(io: &mut impl UnloadIo, &Inputs, flags, done) -> Result<Option<Unloaded>, Error>",
|
|
"trait UnloadIo: gr_load_sequence::Io + fecs_027643(flags), gpccs_method_88(flags), fecs_context_unload_033702()"
|
|
]
|
|
},
|
|
"sequence": [
|
|
"_nv033671rm: Graphics+45f4 -> _nv013583rm (refused); done-mask test; with Graphics+1620 == 0: only with GPU+91d the two Falcon functions; else _nv059509rm, Graphics+1620 = 0, idle wait _nv033729rm, and the body whatever the wait returned; returns the wait's status if non-zero",
|
|
"_nv033670rm [A call order]: 0x400500 = 0",
|
|
"with flag bit 0: Graphics+e68 _nv033430rm reads 0x409b00; with bit 31 set _nv033702rm (FECS context save/unload; a provider method)",
|
|
"per GPC, per TPC: TPC+508 = 0, TPC+50c = 0; then GPC+2c90 = 0, GPC+2c94 = 0",
|
|
"Graphics+da8 _nv031798rm (with Graphics+160c): LTC count from 0x12006c; per LTC 0x410204 + n*0x400 = 0 and +4 = 0",
|
|
"Graphics+f8 -> _nv033168rm (refused)",
|
|
"0x40013c, 0x400138, 0x400118, 0x400130 = 0; +4e0 0x40011c = 0; +4e8 0x400134 = 0; 0x400124 = 0",
|
|
"Graphics+bf8 _nv031795rm: 0x409c24 = 0",
|
|
"_nv027643rm(FECS, flags); with a GPC the +88 function of the GPCCS object (_nv029887rm); Graphics+1591 = 0"
|
|
],
|
|
"leaves_programmed": [
|
|
"netlist sw_non_ctx_load writes",
|
|
"GPC MMU words (0x418880/890/894), MMU debug buffer addresses in PFB (0x100cc4/cc8/ccc and mirrors) and GPC (0x4188b0/b4/b8)",
|
|
"floorsweep state: tile map 0x418980.., per-GPC +914/+910/+918, 0x41bfd4, 0x4188ac, 0x41833c, 0x408850, 0x408958, 0x4181d0",
|
|
"exception enables other than those listed: 0x404000, 0x404600, 0x408030, 0x406018, 0x404490, 0x407020, 0x405840/44, PPC+38, GPC+420/+900/+824/+1028/+84, TPC+430, TPC+610/+72c/+7ac, LTC 0x410144/0x410070 per LTC",
|
|
"feature words 0x419b54, 0x419b68, 0x419e20",
|
|
"ZBC tables in LTC and PGRAPH and the MemorySystem table state",
|
|
"0x4188a4 bits 25:24",
|
|
"0x409044 bit 31 clear",
|
|
"0x400100 (pending bits written 1 by the load) and 0x400108 = 0xffffffff, which the unload does not write",
|
|
"clock-gating tables",
|
|
"software: GraphicsManager feature bytes, GRinfo+608"
|
|
],
|
|
"falcon_functions": {
|
|
"status": "provider methods, not implemented",
|
|
"observed_in_emulation": {
|
|
"events_after_0x409c24": [
|
|
"r:409048:0",
|
|
"du:1",
|
|
"w:409014:ffffffff",
|
|
"r:48:0",
|
|
"du:1",
|
|
"w:14:ffffffff"
|
|
],
|
|
"note": "FECS: _nv027643rm -> +90 of the Falcon (_nv028773rm -> _nv028772rm -> _nv028467rm(.., 0)): read 0x409048, 1 us delay, 0x409014 = 0xffffffff. The second pair (read 0x48, write 0x14) is the same sequence on the GPCCS object, whose register base is 0 here because no Falcon PreInit or Init ran; these events document the call shape only."
|
|
}
|
|
},
|
|
"pre_and_post_unload": {
|
|
"PreUnload _nv033668rm": "without flag bit 0 calls _nv032744rm; no register access in emulation after the load [E]",
|
|
"PostUnload _nv033666rm": "calls _nv033520rm(gpu, graphics, 0) unless Graphics+15ab; faults in emulation on the incomplete objects; not studied"
|
|
},
|
|
"oracle": {
|
|
"tool": "tools/check_gpu_graphics_unload_binary.py",
|
|
"tool_sha256": "7692f4b857dba3b8ac0907248ed0bd6bc1fff13aed7532e0a68b5252320fe780",
|
|
"file": "target/gpu-stage/original-graphics-unload.txt",
|
|
"sha256": "ae5b125942591c626dd691c4bd8bb68eb25bb6586f6915f95728a1a4ef8e4ef6",
|
|
"rows": 174,
|
|
"rows_by_kind": {
|
|
"R": 1,
|
|
"U": 173
|
|
},
|
|
"rows_with_nonzero_status": 9,
|
|
"original_report": "reports/gpu-graphics-unload-original.json",
|
|
"regenerates_identically": true
|
|
},
|
|
"comparison": {
|
|
"test": "gpu::gr_unload::tests::compare_original_graphics_unload",
|
|
"result": "passed: 173 U rows (events in order, status, Graphics+1620 and +1591)"
|
|
},
|
|
"not_done": [
|
|
"the two Falcon unload functions and _nv033702rm (provider methods)",
|
|
"Graphics+45f4, Graphics+f8, MIG / non-zero instance (refused)",
|
|
"PreUnload and PostUnload bodies",
|
|
"any transcript or hardware evidence"
|
|
],
|
|
"correction_2026_11_19_falcon_functions": {
|
|
"date": "2026-11-19",
|
|
"change": "falcon_functions above gives the wrong cause for the GPCCS base of 0. The load harness answers every dynamic cast with its argument, so the Falcon creators bound their tables with a wrong selector. With the casts to the HAL-owner classes answered (tools/check_gpu_graphics_level_binary.py) both Falcons get their base at the load call, and the unload does: read base+48, write it with bits 1:0 clear when that changes it, 1 us, base+14 = 0xffffffff, on 0x409000 and 0x41a000. The functions are implemented in gpu/gr_level.rs. The U rows of this oracle use fixtures for them and are unaffected."
|
|
}
|
|
}
|