Files
nvdriver/reports/gpu-graphics-fecs-start-validation.json
nvidia-driver-rs 4526e6a816 Baseline: validated 30/30 tree with passing Level 7 hardware regression
- 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
2026-11-23 23:48:38 +00:00

74 lines
5.8 KiB
JSON

{
"date": "2026-11-19",
"scope": "Core gpu::gr_fecs_start: the GV100 FECS ready wait, method 0x21 and context size discovery of _nv033633rm, the subcontext count of KernelFifo+170, Graphics PostUnload, and the comparison of StateUnload with FECS running. Original instructions executed in an emulator; nothing ran on hardware.",
"original_sha256": "5269a23ffba19a17fe16f076463e7ad4151254659441d1711bee6c6221ff6f4b",
"harness": "tools/check_gpu_graphics_fecs_start_binary.py",
"oracle": "target/gpu-stage/original-graphics-fecs-start.txt",
"oracle_sha256": "8c32c5dd6ca0bc55544ab44e1452a4a78a358b3e6fc341df3513477c902ac734",
"oracle_regenerated_identically": true,
"cases": 243,
"cases_by_kind": {
"C": 1,
"K": 25,
"S": 164,
"P": 5,
"U": 48
},
"discovery_rows_by_status": {
"0": 116,
"65": 30,
"ffff": 9,
"56": 1,
"loop": 3,
"40": 5
},
"rust": [
"src/nvidia/src/gpu/gr_fecs_start.rs",
"src/nvidia/src/gpu/gr_fecs_start_tests.rs"
],
"tests": {
"the_traced_first_open_is_reproduced_line_for_line": "not ignored; transcript lines 166380-166381 and 167029-167097 (71 accesses) embedded in the test, reproduced in order with the provider call between them",
"refusals_come_before_any_access": "not ignored",
"a_fecs_that_never_answers_ends_with_the_timeout_status": "not ignored",
"compare_original_discovery": "ignored; NV_RS_GRAPHICS_FECS_START_ORACLE; 164 S rows: events, status, ten sizes, clamped GRinfo words, GRinfo+4f0, FECS+1f8, KernelGraphics+1a9; 2 rows refused (Lpwr mask), 3 rows where the original does not return",
"compare_original_constants_and_subcontext_count": "ignored; row C (GV100 GRinfo words, GPU+420 constants, Graphics+15c0, Lpwr control object words) and 22 of 25 K rows (the others have a cached value or argument 1)",
"compare_original_unload_stages": "ignored; 24 U pairs equal, P rows (PreUnload no access; PostUnload 4 cases)",
"the_embedded_lines_are_the_transcript": "ignored; NV_RS_B3_BAR0_TRANSCRIPT",
"command": "NV_RS_GRAPHICS_FECS_START_ORACLE=$PWD/target/gpu-stage/original-graphics-fecs-start.txt NV_RS_B3_BAR0_TRANSCRIPT=$PWD/target/trace/b3-bar0.txt cargo test -p nv-rs-core --lib gr_fecs_start -- --include-ignored",
"result": "7 passed; clippy -p nv-rs-core --all-targets -D warnings clean; rustfmt clean"
},
"established": {
"call_order": "[A] capstone listing of _nv033633rm: entry test GRinfo+154, KernelGraphics+198, GPU+4de4 branch, Graphics+10e0, _nv027644rm (failure -> 0x65), +10f8, +bf0, +1290, +c78, MemorySystem+1130, +1458, +1460, ten _nv031818rm, Lpwr tests, +1418, +ab0; [E] every S row",
"ready_wait": "[A] objdump of _nv027644rm and _nv031757rm: success operator 0 value 1, failure operator 5 value 0, _nv031757rm pushes 0 as the ninth argument (no extra work); FECS+1f8 = 1 only on success; FECS+90 _nv027352rm reads 0x409818 on both paths and spins (jmp .) on 0x16..0x18",
"methods": "[E] 0x21 data 0x3fffffff without a wait; 0xd/0xf/0xe only with Graphics+15b1/+15b2/+15b3 (no GV100 property initializer stores them), each with a wait for mailbox 0 == 1, failure 0xffff",
"sizes": "[E] with Graphics+160c set all ten _nv031818rm calls reach Graphics+1098 _nv031821rm: FECS methods 0x10, 0x16, 0x25, 0x1a for buffers 0-3 (wait for mailbox 0 != 0), computed sizes for 4 (spill), 5 (beta), 6 (page pool), 8 (patch), zero for 7 and 9; without 160c only 0, 2, 8. The four traced methods are exactly the four FECS queries",
"memory_system": "[E][T] MemorySystem+1130 _nv045007rm reads 0x17e480 (bits 31:28, slices), 0x12006c (bits 4:0, count) and unit register 0x480 of each LTC; its mask goes to Graphics+1458, empty on GV100; statuses 0x40 when the broadcast or a unit nibble is 0, the count is 0 or above GPU+420(0x25) = 0x10",
"subcontext_count": "[E][T] KernelFifo+170 reads 0x200 and 0x404030 once and caches (transcript line 140981: 0x40); not read inside _nv033633rm in the traced run",
"lpwr": "[E] the control object _nv021616rm builds on a GV100 has dword +e0 = 0 and +1820..+182c = 0, Lpwr+27c = +248 = 0: no Lpwr function runs in the submit or at the end",
"fuse_and_gpc_reads_166286_166379": "[T][E] not part of _nv033633rm: no fuse function is among the functions it executes; they precede it in KernelGraphics PostLoad (static info queries, attribution of the dossier) and nothing here reads their results",
"unload": "[S] shutdown passes flags 0 (GPU_STATE_DEFAULT, osinit.c RmShutdownAdapter -> gpuStateUnload; bit 0 is PRESERVING), so Graphics+e68/_nv033702rm (context save) is not called; [E] _nv033671rm makes identical accesses with FECS+1f8 and GRinfo+154 set and leaves both set (24 pairs); PreUnload _nv033668rm(.., 0): _nv032744rm, no access with GRinfo+130/+138/+140 null; PostUnload _nv033666rm: PMC enable bit 12 cleared, 2 us, unless Graphics+15ab (registry RMSkipGrResetForInstSys)"
},
"fixture_supplied": [
"register values",
"Graphics+10e0 (one call)",
"timeout record, yield",
"failure report _nv027616rm and the dump Graphics+530 _nv032302rm",
"Falcon unload functions and engine status in U rows",
"KernelFifo+3c0 preset to 0x40 in S rows (transcript line 140981)"
],
"not_reproduced": [
"GPU+4de4",
"Graphics instance != 0 or MIG",
"GRinfo+0 == 0 (method 0xc, sizes without firmware)",
"Lpwr control object with controls or masks",
"0x409818 in 0x16..0x18 (the original does not return)",
"Graphics+15ce and _nv054300rm in subcontext_count"
],
"open": [
"which control first reaches _nv033633rm in PostLoad [I]",
"registry keys RMFermiCBSize, RMFermiAlphaCBSize, RMGfxpCBSize, RMGfxpSpillSize, RMFermiPagepoolSize, RMSetupBetaAsTpcPerPpcMax change the computed sizes: the level must find them absent or refuse to use GV100_BUFFERS",
"FECS+1f8 and GRinfo+154 survive StateUnload; whether _nv027643rm on a started Falcon clears anything belongs to falcon_ls_start",
"what real FECS firmware answers is only in the transcript (four sizes)"
]
}