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
167 lines
9.1 KiB
JSON
167 lines
9.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": "MemorySystem+fa8 _nv045299rm (ZBC default tables) with the Graphics functions it calls, and the Graphics StateLoad with it inside.",
|
|
"evidence_category": "instruction emulation of the original and one physical transcript",
|
|
"core": {
|
|
"modules": {
|
|
"src/nvidia/src/gpu/memsys_zbc.rs": "76e3a2e8d43924581b0d0f1246599c1bdce0853b5fb9cd95493c192d77c37471",
|
|
"src/nvidia/src/gpu/gr_zbc.rs": "f1ebd6b0f7f7c6415347874e450387198a4e921b11a7c0bf0166c9dfff1558e5",
|
|
"src/nvidia/src/gpu/gr_load_sequence.rs": "c8077fb43a9f245904f574fc548e1f64d0ef6828cd9fd79426d1f99c070cb8c3"
|
|
},
|
|
"api": [
|
|
"memsys_zbc::run(io, &Config, &mut Tables, argument) -> Result<NvStatus, Error>",
|
|
"memsys_zbc::Tables::allocated() (_nv045302rm on a new object)",
|
|
"memsys_zbc::refusal(..)",
|
|
"gr_zbc::{colour_format,depth_format,stencil_format} (_nv013328rm, _nv013332rm, _nv013330rm)",
|
|
"gr_zbc::load(io, &Inputs, &Zbc, &mut Tables, flags, done) -> Result<Option<Completed>, Error> (_nv033665rm, Io::zbc_tables never called)",
|
|
"gr_load_sequence::{wait_idle, lpwr_033722, Idle, Lpwr} (behaviour-preserving extraction; load oracle and tests unchanged)"
|
|
]
|
|
},
|
|
"original_chain": [
|
|
[
|
|
"_nv045299rm",
|
|
"restore flag = OBJMC+1ba or GPU+90c or _nv045407rm; +fb0; _nv045294rm; _nv045295rm; +1008; if not restore +fd0(..,1); _nv045612rm; _nv045613rm; +1010",
|
|
"A (REA and capstone) E T"
|
|
],
|
|
[
|
|
"+fb0 _nv045607rm",
|
|
"zero every free colour index (+fc0 _nv045846rm: read 0x12006c, 0x17e338 select, 0x17e33c..348) and all depth (+fc8 _nv045850rm: 0x17e34c) and stencil (+1018 _nv045854rm: 0x17e204) indexes",
|
|
"D E T"
|
|
],
|
|
[
|
|
"_nv045294rm -> _nv044211rm -> +ff8 _nv044215rm",
|
|
"three default colours: idle wait _nv033729rm, LTC words, GPC+c/+3c/+78/+b4 + 4*index, format _nv013328rm (GPC+100), _nv033722rm",
|
|
"A(_nv045294rm) D E T"
|
|
],
|
|
[
|
|
"_nv045295rm -> +fe8 _nv044218rm",
|
|
"two default depths: idle wait, LTC, GPC+10c+4*index, _nv013332rm (GPC+14c), _nv033722rm",
|
|
"D E T"
|
|
],
|
|
[
|
|
"+1008 _nv045297rm -> +1000 _nv044221rm",
|
|
"three default stencils: LTC, GPC+158+4*index, _nv013330rm (GPC+198), _nv033722rm",
|
|
"D E T"
|
|
],
|
|
[
|
|
"+fd0 _nv044709rm(..,1)",
|
|
"idle wait; +fd8 _nv044702rm, +fe0 _nv044704rm, +1028 _nv044706rm clear indexes above the defaults",
|
|
"D E T"
|
|
],
|
|
[
|
|
"_nv045612rm, _nv045613rm, +1010 _nv045615rm",
|
|
"replay of client entries: nothing left after the clear",
|
|
"D E"
|
|
]
|
|
],
|
|
"default_tables": {
|
|
"source": ".rodata of the object, read by _nv045294rm (+0x4c53e64, stride 0x24: four LTC words, four PGRAPH words, format), _nv045295rm (+0x4c53e48) and _nv045297rm (+0x4c54068); the first entry of each table is immediate operands",
|
|
"rodata_words": {
|
|
"colour": [
|
|
[
|
|
4294967295,
|
|
4294967295,
|
|
4294967295,
|
|
4294967295,
|
|
1065353216,
|
|
1065353216,
|
|
1065353216,
|
|
1065353216,
|
|
2
|
|
],
|
|
[
|
|
1065353216,
|
|
1065353216,
|
|
1065353216,
|
|
1065353216,
|
|
1065353216,
|
|
1065353216,
|
|
1065353216,
|
|
1065353216,
|
|
4
|
|
]
|
|
],
|
|
"depth": [
|
|
1065353216
|
|
],
|
|
"stencil": [
|
|
1,
|
|
1,
|
|
255,
|
|
1
|
|
]
|
|
}
|
|
},
|
|
"oracle": {
|
|
"tool": "tools/check_gpu_graphics_zbc_binary.py",
|
|
"tool_sha256": "5ca7f061c24f8a647072e2eb28c39a7a2538e6689058a3e8d1f7b3aa10b5949a",
|
|
"file": "target/gpu-stage/original-graphics-zbc.txt",
|
|
"sha256": "1e979f045f3d20198e2ab8a2ce7181300e1fda2022299c6291bcfc6a64348de6",
|
|
"rows": 235,
|
|
"rows_by_kind": {
|
|
"V": 1,
|
|
"T": 1,
|
|
"C": 1,
|
|
"Z": 213,
|
|
"L": 19
|
|
},
|
|
"service_rows_with_nonzero_status": 29,
|
|
"original_report": "reports/gpu-graphics-zbc-original.json",
|
|
"regenerates_identically": true
|
|
},
|
|
"comparison": {
|
|
"memsys_zbc::tests::compare_original_zbc_service": "passed: 213 Z rows (events in order, status, all table state before/after, including states with client entries and damaged masks) and the C row (default-table words)",
|
|
"gr_zbc::tests::compare_original_load_with_the_zbc_service": "passed: 19 L rows of _nv033665rm with the original service"
|
|
},
|
|
"transcript": {
|
|
"original_in_emulation": "with the original service the original StateLoad equals all 1,629 lines 156720-158348; the service alone equals 157715-158241 (527 lines)",
|
|
"rust_test": "gr_zbc::tests::the_whole_traced_load_is_reproduced: passed",
|
|
"accounting": "1,629 lines = 1,511 register accesses made by Rust code (996 of the load body + 515 of the ZBC service) + 14 lines of seven FIFO engine status queries (two status words each: one in the load's idle wait, six in the service's idle waits; offsets checked) + 104 lines of the clock-gating pass (checked equal to PreInit lines 37609-37712 reproduced by gpu/clock_gating.rs)",
|
|
"correction": "the earlier figure of two FIFO status lines counted the load's own idle wait only; twelve more sit inside the former 527-line ZBC block"
|
|
},
|
|
"lpwr_033722": {
|
|
"what_it_does": "[D, caller A] returns 0x56 without OBJMC; with Lpwr+272 and an Lpwr+11c0 object it asks _nv042917rm(pgctrl, 0, 2) (bit 0 of pgctrl+e0 and bit 1 of pgctrl+130). When supported and Graphics+1593 is clear: sets Graphics+1594, takes the OBJSEQ object (GPU+1f48, +268), _nv056223rm, _nv056273rm(seq, 6), disallows the feature (_nv042924rm), registers a register-write interception over 0..0xffffff (_nv056221rm -> _nv053899rm with _nv016029rm), sets OBJMC+1ba and calls MemorySystem+fa8 again (restore mode), then _nv056222rm, _nv056265rm, _nv056258rm and _nv042843rm(gpu, pgctrl, 0, seq, 1), which copies the recorded sequence into a mapped surface and issues a PMU exchange through _nv042842rm; finally _nv056251rm and _nv042925rm. In short: it records the ZBC register writes as a sequencer script for the PMU to replay after graphics power gating.",
|
|
"calls": "nine per StateLoad: one per new default entry inside the service (Graphics+1593 set, so the answer is ignored) and one after it",
|
|
"traced_v100": "[T] no PMU register access and no second ZBC pass exist between lines 158241 and 158245, so on the traced board the routine returned without the PMU path",
|
|
"producer_of_the_answer": "NOT settled. pgctrl+e0 starts as 0x1ffff7 in _nv021616rm and loses bits per Lpwr property bytes (+228 for index 0; 1 on GV100 [E]) and per PMU object bytes (+5de, +5e4 ...), and later Lpwr stages may change it. Run with no PMU object the emulated mask is 0; that is not the first-open state.",
|
|
"pmu_request_layout": "NOT established (_nv042842rm and _nv042831rm were not read)",
|
|
"rust": "gr_load_sequence::lpwr_033722 performs the query through Io::lpwr_feature_supported and refuses the PMU path with Error::Unsupported(\"LPWR path of _nv033722rm\")"
|
|
},
|
|
"scope_refused": [
|
|
"restore mode (OBJMC+1ba, GPU+90c, vGPU guest, MemorySystem+8cf8)",
|
|
"MemorySystem+1339 (LTC read-back)",
|
|
"MemorySystem+8cd0",
|
|
"Graphics already loaded (+1591: FIFO engine disable/enable around updates)",
|
|
"MIG",
|
|
"table index other than 0",
|
|
"replay of client entries when MemorySystem+8cb2 is clear"
|
|
],
|
|
"inputs_not_executed": [
|
|
"MemorySystem+8cb1: registry RMDisableZBCDefaultLoad stored by PreInitUnlocked _nv045897rm [D]; a case input",
|
|
"the vGPU record lookup _nv060484rm (fixture: not found; its body [A] returns 0x57 when no record matches)",
|
|
"OBJRC words GPU+2100 +164/+168: case inputs"
|
|
],
|
|
"correction_2026_11_19_level_wiring": {
|
|
"date": "2026-11-19",
|
|
"change": "Core sources changed without a change of behaviour the oracle sees: gr_load_sequence.rs (refusal() public; tile-map counts without a table on the stack) and memsys_zbc.rs (Tables::reset). The oracle regenerates identically and the comparison tests pass.",
|
|
"gr_load_sequence_sha256_after": "d7d30c28a2e3b8d07a4c94daa4349c89c4f01693348d370526e26a2c9429f47a",
|
|
"memsys_zbc_sha256_after": "afdb5ce48f990a95c3560e22ce644b8462cec84e7e593139e32afb88731cf95b",
|
|
"also": "The GPU+22e8 object (Pmgr) exists on a GV100; its _nv051499rm call in the load returns at once (reports/gpu-graphics-level-validation.json, pmgr_call_in_the_load). _nv000194rm returns a version 0x20 table without entries on the V100 image, not an error status."
|
|
}
|
|
}
|