Files
nvdriver/reports/gpu-graphics-init-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

215 lines
9.5 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": "Producers of gr_load_sequence::Inputs: OBJBUS+300 _nv018541rm and the geometry part of Graphics InitLocked.",
"evidence_category": "instruction emulation of the original. The InitLocked register accesses fall in the lost-event gap of the transcript (lines 138651-138667): their ORDER has instruction-emulation evidence only. Transcript agreement exists for the bus words (37599-37603), the PPC words and fuse words re-read by KernelGraphics PostLoad (166291-166353) and for the counts the load writes (157093-157110).",
"core": {
"module": "src/nvidia/src/gpu/gr_init.rs",
"sha256": "0431a78d4d05105c153325d48a6a0ba73e852b3f4c75c25ce45d0b0be3939996",
"tests": "src/nvidia/src/gpu/gr_init_tests.rs",
"api": [
"bus_geometry(io) -> Bus (_nv018541rm: reads 0x120070, 0x120078, 0x22430, 0x22438, 0x22434)",
"init_locked(io, &Bus, &Chip) -> Result<Outcome{Built(Geometry)|Failed(status)}, Error>",
"trait Io: read, write, fuse_query(id), fuse_read(offset)",
"Prepared::new(geometry).inputs(&Chip, &Environment) -> gr_load_sequence::Inputs",
"GV100: Chip (GPU+420 constants, Graphics+188c, base +38, GraphicsManager+28b.., Lpwr+272)"
]
},
"original_chain": [
[
"_nv018541rm (OBJBUS+300)",
"reads 0x120070, 0x120078, 0x22430, 0x22438, 0x22434; _nv034073rm stores GraphicsManager record +c/+10/+14/+18/+1c; OBJBUS+664",
"D E T(37599-37603)"
],
[
"_nv033663rm -> _nv033662rm",
"Graphics+d10 _nv033245rm reads 0x200 (bit 12)",
"E"
],
[
"_nv033193rm per GPC",
"_nv033435rm reads GPC+2608 (bits 4:0 TPC count -> record +0, bits 20:16 -> +4); _nv033030rm -> GraphicsManager+1c8 _nv033986rm -> OBJBUS+2c0 _nv018499rm (fuse query 0xff000034 -> GPC mask; 0x40 when empty, 0x1f when the GPC has no bit); Graphics+cd0 _nv033254rm accepts every GPC with its TPC count (+1c); OBJBUS+2c8 _nv018518rm (second query, fuse read 0xc38+4*physical -> TPC mask +18)",
"A(_nv033986rm,_nv018499rm,_nv033254rm,_nv033568rm) D E"
],
[
"_nv033193rm per GPC and PPC",
"Graphics+11c0 _nv033441rm reads GPC+c30+4*unit; +11c8 _nv032945rm keeps the low byte; counts +8, +c, +20.., +30..",
"A(_nv032945rm) D E; values T(166336-166353)"
],
[
"Graphics+e90 _nv033212rm -> _nv033211rm",
"row offset GRinfo+544 (primes at .rodata+0x4ce8a88) and the tile map GRinfo+538 (0x100 bytes, error diffusion over GPCs sorted by TPC count)",
"D E"
],
[
"_nv033662rm",
"0x400100 = 0xffffffff",
"D E"
],
[
"Graphics+ce8 _nv033232rm -> _nv033231rm",
"reads 0x1070 (_nv030643rm) and 0x40960c",
"E (attribution by call path)"
],
[
"Graphics+b18 _nv033220rm",
"SM-id tables; no register access; NOT reproduced",
"D E"
],
[
"_nv046055rm -> _nv045163rm",
"reads 0x500920",
"E"
],
[
"_nv033663rm tail",
"_nv019166rm(FIFO, 0xd334df00) and the callback registration; not reproduced",
"D E"
]
],
"oracle": {
"tool": "tools/check_gpu_graphics_init_binary.py",
"tool_sha256": "e9b4827b670a1bcf7b6c40894983c1f135d45720001dc892e887fc5937e96a57",
"file": "target/gpu-stage/original-graphics-init.txt",
"sha256": "19f96a33065d1bfe1408801c0f5de3d740c2e6e2b7d45d24ad2e28bf5daefe6f",
"rows": 342,
"rows_by_kind": {
"K": 1,
"V": 1,
"B": 24,
"N": 316
},
"init_rows_with_nonzero_status": 82,
"original_report": "reports/gpu-graphics-init-original.json",
"regenerates_identically": true
},
"comparison": {
"test": "gpu::gr_init::tests::compare_original_graphics_init",
"result": "passed: every K, B, V and N row. For N rows: events in order, status, the 13 record fields per GPC, GRinfo +544..+560, the 256 tile-map bytes, the Graphics and GraphicsManager constant bytes. 27 rows where the original fails in the unreproduced SM-id step (0xffff) are compared up to the 0x40960c read only."
},
"v100": {
"test_values": "gpu::gr_init::tests::the_traced_v100_words_give_its_geometry (TPC counts 7,7,7,6,7,6; TPC masks 7f,7f,7f,7e,7f,7e as CUDA reads them; row offset 3; 40-entry tile map)",
"test_inputs": "gpu::gr_init::tests::the_traced_load_runs_on_inputs_produced_here: the Inputs built here equal, field by field, the state of the original preparation (first S row of the load oracle), and gr_load_sequence::load on them reproduces transcript lines 156720-158348",
"not_in_transcript": "GPC+2608 words (0x40007/0x40006: both fields forced by the +914/+910 words of the load), 0x1070, 0x40960c, 0x500920 (value 0 used; no consumer among the load inputs)"
},
"where_each_load_input_comes_from": {
"gpcs (GRinfo+570 +0,+4,+8,+1c), grinfo_544/548/554, tile_map": "gr_init::init_locked (registers GPC+2608, GPC+c30/c34/c38, fuse object)",
"grinfo_55c, tile_words, gr_188c, base_38, grmgr_28b, lpwr_272, three_d, gr_15a2, gr_50, grinfo_528": "gr_init::GV100 constants and Prepared::inputs; each asserted against the original objects in every N row (GPU+420 values in the K row)",
"gpu_911, gpu_52fc, gpu_915..926": "GPU object bytes of first open: Environment (caller)",
"buffers": "KernelGmmu+410/+408 descriptors: Environment (placement, mmu/placement.rs)",
"mc_present, lpwr_present, lpwr_11c0_present": "object presence: Environment",
"non_ctx_load": "netlist region 6 from the container (gr_netlist)",
"refused selectors": "Environment; MIG, GPU+90e, GPU+e00 etc. are caller state"
},
"registry": {
"keys_read_by_constructors_and_init": 83,
"keys_that_change_the_produced_state": {
"RMZcullEqualScreenDistOnFS": [
{
"value": 1,
"status": "0x0",
"fields_changed": [
"grinfo",
"tile map",
"graphics bytes"
]
},
{
"value": 5,
"status": "0x0",
"fields_changed": [
"grinfo",
"tile map",
"graphics bytes"
]
}
]
},
"note": "RMZcullEqualScreenDistOnFS sets Graphics+15ca, which gr_load_sequence refuses. RMFermiScreenTileRowOffset is overwritten by _nv033193rm. Each key was set to 1 and to 5, one at a time."
},
"original_faults": [
{
"bus": [
6,
6,
7,
42
],
"tpc_words": [
"0x40000",
"0x40000",
"0x40000",
"0x40000",
"0x40000",
"0x40000"
],
"fault": "Unhandled CPU exception (UC_ERR_EXCEPTION) at 0x1047c1c8 _nv046055rm"
},
{
"bus": [
6,
6,
7,
42
],
"tpc_words": [
"0x70000",
"0x70000",
"0x70000",
"0x70000",
"0x70000",
"0x70000"
],
"fault": "Unhandled CPU exception (UC_ERR_EXCEPTION) at 0x1047c1c8 _nv046055rm"
},
{
"bus": [
6,
6,
7,
42
],
"tpc_words": [
"0x1f0000",
"0x1f0000",
"0x1f0000",
"0x1f0000",
"0x1f0000",
"0x1f0000"
],
"fault": "_nv033663rm"
}
],
"not_done": [
"SM-id tables (Graphics+b18 _nv033220rm): not implemented; on PPC words inconsistent with the TPC counts the original fails with 0xffff where gr_init reports Built",
"netlist selection/inflation _nv033300rm (gr_netlist covers the catalog), Falcon objects, constructor registry keys (state outside the load inputs), _nv019166rm and the timer callback of _nv033663rm",
"PMC bit 12 clear (_nv033468rm reset path), MIG, the fixed tile maps for 4-TPC parts, a GPC without TPCs: refused",
"consumers of the 0x1070/0x40960c/0x500920 reads",
"Graphics PreInitLocked table construction _nv031723rm/_nv031724rm: the register-unit bases are constants in gr_load_sequence and clock_gating; not re-derived here",
"kernel wiring and any hardware run"
],
"correction_2026_11_19_sm_id_step": {
"date": "2026-11-19",
"change": "The SM-id table step (Graphics+b18 _nv033220rm with _nv033477rm and Graphics+a90 _nv032985rm) is implemented in gr_init.rs; the statements above that it is not reproduced, and that 27 rows are compared up to the 0x40960c read only, no longer hold: every N row is compared to its end with its status. The oracle gained one field per row (the table of GRinfo+578).",
"oracle_sha256_before": "19f96a33065d1bfe1408801c0f5de3d740c2e6e2b7d45d24ad2e28bf5daefe6f",
"oracle_sha256_after": "8b38165d6f2651f769b7016596689a4ba5723385762e7faeaadba959d658fe21",
"tool_sha256_after": "afaefa39a1bb237d1f22ba54d18cc14c5c31eeb2874c54d668945d503797f3d2",
"gr_init_sha256_after": "3a2c7c9a72a9cc00ef538900ecb45e07ce1cee05be6a0981a5ef89917f0dd7ba",
"also": "OBJGMMU+410/+408 are the two buffers (this report says KernelGmmu); see reports/gpu-graphics-level-validation.json"
}
}