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
365 lines
7.6 KiB
JSON
365 lines
7.6 KiB
JSON
{
|
|
"scope": "Machine-readable companion of analysis/closed-driver-580/graphics.md. Evidence tags as defined there: A instructions, D pseudocode only, S public source, T transcript target/trace/b3-bar0.txt, E repo oracle, I inference.",
|
|
"target_sha256": "5269a23ffba19a17fe16f076463e7ad4151254659441d1711bee6c6221ff6f4b",
|
|
"stage_bodies": {
|
|
"GraphicsManager": {
|
|
"ConstructEngine": "_nv033946rm",
|
|
"InitLocked": "_nv034082rm",
|
|
"PostLoad": "_nv034083rm"
|
|
},
|
|
"Graphics": {
|
|
"ConstructEngine": "_nv031719rm",
|
|
"PreInitLocked": "_nv033667rm",
|
|
"InitLocked": "_nv033663rm",
|
|
"Load": "_nv033665rm",
|
|
"PreUnload": "_nv033668rm",
|
|
"Unload": "_nv033671rm",
|
|
"PostUnload": "_nv033666rm",
|
|
"StateDestroy": "_nv033661rm"
|
|
},
|
|
"KernelGraphics": {
|
|
"ConstructEngine": "_nv041005rm",
|
|
"InitLocked": "_nv041066rm",
|
|
"Load": "_nv041067rm",
|
|
"PostLoad": "_nv041068rm"
|
|
}
|
|
},
|
|
"key_functions": {
|
|
"_nv033300rm": {
|
|
"role": "netlist select and inflate (InitLocked)",
|
|
"evidence": "D,E"
|
|
},
|
|
"_nv033662rm": {
|
|
"role": "InitLocked body: geometry, 0x400100 clear, GRinfo setup",
|
|
"evidence": "D"
|
|
},
|
|
"_nv033664rm": {
|
|
"role": "Load parent",
|
|
"evidence": "E gr_load.rs"
|
|
},
|
|
"_nv033298rm": {
|
|
"role": "GR engine init (27 steps)",
|
|
"evidence": "D,T"
|
|
},
|
|
"_nv033396rm": {
|
|
"role": "apply sw_non_ctx_load (slot +0xce0)",
|
|
"evidence": "D,T+E"
|
|
},
|
|
"_nv033633rm": {
|
|
"role": "start FECS/GPCCS, wait ready, watchdog, discover 10 buffer sizes",
|
|
"evidence": "A call order,T"
|
|
},
|
|
"_nv031609rm": {
|
|
"role": "slot +0x10e0: FECS obj +0x80 then GPCCS obj +0x98",
|
|
"evidence": "D"
|
|
},
|
|
"_nv027343rm": {
|
|
"role": "FECS start (LSFM lookup, 0x409a20, flcnBootstrapOS)",
|
|
"evidence": "D"
|
|
},
|
|
"_nv028391rm": {
|
|
"role": "flcnBootstrapOS_GM107 (string)",
|
|
"evidence": "D"
|
|
},
|
|
"_nv027644rm": {
|
|
"role": "wait FECS ready mailbox0 == 1",
|
|
"evidence": "A"
|
|
},
|
|
"_nv033685rm": {
|
|
"role": "FECS method submit",
|
|
"evidence": "E"
|
|
},
|
|
"_nv055403rm": {
|
|
"role": "FECS mailbox wait (via _nv031757rm)",
|
|
"evidence": "E"
|
|
},
|
|
"_nv031821rm": {
|
|
"role": "slot +0x1098 buffer size by GR_CTX_BUFFER index",
|
|
"evidence": "D"
|
|
},
|
|
"_nv031604rm": {
|
|
"role": "per-channel GR context init; golden creation orchestrator",
|
|
"evidence": "D"
|
|
},
|
|
"_nv033275rm": {
|
|
"role": "golden context generation (reset, bind, ctx load, commit, bundle, veid bundle, method init)",
|
|
"evidence": "A call order,T"
|
|
},
|
|
"_nv033210rm": {
|
|
"role": "golden save (method 9), copy to host image, store at GRinfo+0x130/+0x138",
|
|
"evidence": "D,T"
|
|
},
|
|
"_nv033702rm": {
|
|
"role": "unload: bind, method 1, clear 0x409b00 bit 31",
|
|
"evidence": "A,T"
|
|
},
|
|
"_nv013582rm": {
|
|
"role": "FECS method 1 (mode 0) / 9 (mode 2), wait ==1 ok ==2 fail",
|
|
"evidence": "A"
|
|
},
|
|
"_nv031605rm": {
|
|
"role": "FECS bind pointer method 3, wait ==0x10 ok ==0x21 fail",
|
|
"evidence": "A"
|
|
},
|
|
"_nv033729rm": {
|
|
"role": "grWaitIdle_GM107 (string)",
|
|
"evidence": "D"
|
|
},
|
|
"_nv031734rm": {
|
|
"role": "slot +0xf70: 0x404170 reset + ctxsw reset",
|
|
"evidence": "D,T"
|
|
},
|
|
"_nv033190rm": {
|
|
"role": "initialise context from golden image",
|
|
"evidence": "D callers only"
|
|
},
|
|
"_nv033774rm": {
|
|
"role": "global ctx buffer commit wrapper (kgrctx slot +0x168); arg6 0 = registers, 1 = patch buffer",
|
|
"evidence": "D"
|
|
},
|
|
"_nv057863rm": {
|
|
"role": "NV2080_CTRL_CMD_GPU_PROMOTE_CTX physical handler",
|
|
"evidence": "D"
|
|
},
|
|
"_nv033820rm": {
|
|
"role": "physical promote per buffer, calls _nv031604rm",
|
|
"evidence": "D"
|
|
},
|
|
"_nv041008rm": {
|
|
"role": "kgraphicsCreateGoldenImageChannel_IMPL",
|
|
"evidence": "S constant 0xbaba0042"
|
|
},
|
|
"_nv041031rm": {
|
|
"role": "kgraphicsInitializeDeferredStaticData_IMPL",
|
|
"evidence": "S control 0x20800a32"
|
|
},
|
|
"_nv041042rm": {
|
|
"role": "kgraphicsLoadStaticInfo_KERNEL",
|
|
"evidence": "S controls 0x20800a26, 0x20800a3d"
|
|
},
|
|
"_nv032696rm": {
|
|
"role": "GR interrupt service",
|
|
"evidence": "D"
|
|
},
|
|
"_nv032475rm": {
|
|
"role": "slot +0x1e0 FECS interrupt",
|
|
"evidence": "D"
|
|
},
|
|
"_nv032269rm": {
|
|
"role": "slot +0x308 exception service",
|
|
"evidence": "D"
|
|
}
|
|
},
|
|
"grinfo_offsets": {
|
|
"0x68/0x70": "sw_bundle_init ptr/count",
|
|
"0x98/0xa0": "sw_method_init",
|
|
"0x180/0x188": "sw_ctx_load",
|
|
"0x1f0/0x1f8": "sw_non_ctx_load",
|
|
"0x12c": "golden valid",
|
|
"0x130": "golden cpu pointer",
|
|
"0x138": "golden memdesc",
|
|
"0x154": "10 buffer sizes (GR_CTX_BUFFER order)",
|
|
"0x5f0/0x5f4": "data of extra methods 0x8d04902d/0x8d05902d"
|
|
},
|
|
"netlist_regions": {
|
|
"0": "FECS data",
|
|
"1": "FECS code",
|
|
"2": "GPCCS data",
|
|
"3": "GPCCS code",
|
|
"4": {
|
|
"name": "sw_bundle_init",
|
|
"entries": 958,
|
|
"format": "av",
|
|
"trace_lines": [
|
|
170713,
|
|
172853
|
|
],
|
|
"match": "exact"
|
|
},
|
|
"5": {
|
|
"name": "sw_ctx_load",
|
|
"entries": 814,
|
|
"format": "aiv",
|
|
"trace_lines": [
|
|
169548,
|
|
170362
|
|
],
|
|
"match": "exact"
|
|
},
|
|
"6": {
|
|
"name": "sw_non_ctx_load",
|
|
"entries": 338,
|
|
"format": "av",
|
|
"trace_lines": [
|
|
156740,
|
|
157083
|
|
],
|
|
"match": "exact"
|
|
},
|
|
"7": {
|
|
"name": "sw_method_init",
|
|
"entries": 1537,
|
|
"format": "av",
|
|
"trace_lines": [
|
|
175575,
|
|
177347
|
|
],
|
|
"match": "exact, each addr OR 0x80000000 at 0x404488, plus 2 extra methods"
|
|
},
|
|
"28": {
|
|
"name": "sw_veid_bundle_init",
|
|
"entries": 22,
|
|
"format": "av",
|
|
"trace_lines": [
|
|
172861,
|
|
175557
|
|
],
|
|
"match": "exact: 21 entries x 64 veids (addr | veid<<20) + last entry once"
|
|
}
|
|
},
|
|
"fecs_methods": {
|
|
"0x21": {
|
|
"data": "0x3fffffff",
|
|
"wait": null
|
|
},
|
|
"0x10": {
|
|
"result": "0x111800"
|
|
},
|
|
"0x16": {
|
|
"result": "0xf0c00"
|
|
},
|
|
"0x25": {
|
|
"result": "0xb300"
|
|
},
|
|
"0x1a": {
|
|
"result": "0x140e00"
|
|
},
|
|
"0x03": {
|
|
"pre": "0x409840=0x30",
|
|
"data": "0x80000000|inst>>12",
|
|
"ok": "mailbox0==0x10",
|
|
"fail": "mailbox0==0x21"
|
|
},
|
|
"0x09": {
|
|
"pre": "0x409840=3",
|
|
"ok": "mailbox0==1",
|
|
"fail": "mailbox0==2"
|
|
},
|
|
"0x01": {
|
|
"pre": "0x409840=3",
|
|
"ok": "mailbox0==1",
|
|
"fail": "mailbox0==2"
|
|
}
|
|
},
|
|
"fecs_size_method_table": {
|
|
"address": "0x5e06128",
|
|
"bytes": "10000000160000002500000000000000",
|
|
"evidence": "A read_bytes"
|
|
},
|
|
"trace_segments": {
|
|
"preinit_clock_gating": [
|
|
37610,
|
|
37712
|
|
],
|
|
"load": [
|
|
156720,
|
|
158348
|
|
],
|
|
"load_non_ctx_list": [
|
|
156740,
|
|
157083
|
|
],
|
|
"load_zbc": [
|
|
157715,
|
|
158241
|
|
],
|
|
"load_clock_gating": [
|
|
158246,
|
|
158348
|
|
],
|
|
"postload_fecs_gpccs": [
|
|
166380,
|
|
167097
|
|
],
|
|
"golden_total": [
|
|
169469,
|
|
177784
|
|
],
|
|
"golden_reset": [
|
|
169489,
|
|
169520
|
|
],
|
|
"golden_bind": [
|
|
169521,
|
|
169533
|
|
],
|
|
"golden_buffer_commit": [
|
|
170373,
|
|
170389
|
|
],
|
|
"golden_save_method9": [
|
|
177398,
|
|
177430
|
|
],
|
|
"golden_ce_copy_doorbells": [
|
|
177469,
|
|
177742
|
|
],
|
|
"unload_bind_method1": [
|
|
177752,
|
|
177784
|
|
],
|
|
"channel2_bind": [
|
|
177785,
|
|
177800
|
|
]
|
|
},
|
|
"observed_v100": {
|
|
"gpc_mask": "0x3f",
|
|
"tpc_masks": [
|
|
"0x7f",
|
|
"0x7f",
|
|
"0x7f",
|
|
"0x7e",
|
|
"0x7f",
|
|
"0x7e"
|
|
],
|
|
"golden_image_bytes": "0x111800",
|
|
"ce_copy_kicks": 274,
|
|
"ctx_buffer_total_reported_to_cuda": "0xea7000",
|
|
"golden_channel_instance_block": "0x7fdb90000",
|
|
"buffer_vas": {
|
|
"bundle_cb": "0x100006000",
|
|
"pagepool_global": "0x100200000",
|
|
"attribute_cb": "0x101000000"
|
|
}
|
|
},
|
|
"cuda_gr_requests": {
|
|
"alloc": [
|
|
"0xa06c",
|
|
"0x9067",
|
|
"0xc36f",
|
|
"0xc3c0",
|
|
"0xc3b5",
|
|
"0x83de"
|
|
],
|
|
"ctrl": [
|
|
"0x20801201",
|
|
"0x20801227",
|
|
"0x2080121b",
|
|
"0x2080122a",
|
|
"0x2080122b",
|
|
"0x20801218",
|
|
"0x20801210",
|
|
"0x906f0101",
|
|
"0xc36f0108",
|
|
"0xa06c0101",
|
|
"0xa06c0103",
|
|
"0x83de0309"
|
|
],
|
|
"not_issued": [
|
|
"0xc397",
|
|
"0x902d"
|
|
]
|
|
}
|
|
} |