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
630 lines
24 KiB
JSON
630 lines
24 KiB
JSON
{
|
|
"evidence_category": "instruction emulation of the original object (oracles) and modelled Rust tests; REA Ghidra listings for the bodies named under instruction_level_readings; no hardware execution, no GPU access, no kernel module build or load",
|
|
"date": "2026-11-20",
|
|
"scope": "steps 2 and 3 of analysis/closed-driver-580/first-open-integration-plan.md, core and emulation only. The plan's step 2 as written is the kernel owner (device_software, kernel stage_path.rs) and its step 3 the pre-stage of _nv000790rm in production; both are kernel work and were NOT done. Done instead, as the task defined it: the construction-time state of the first engines in core, more verified bodies connected behind the dispatcher with an oracle that runs the original callbacks inside the original passes, and the coverage table with a ranked list of missing bodies. Nothing under src/nvidia/kernel, kernel-open, rmapi, uvm or the bring-up modules was edited; no existing core module that a bring-up level calls was edited.",
|
|
"validate_all": "tools/validate_all.sh was deliberately NOT run (it rebuilds and reloads the kernel module; the validated build 16bb434b... must stay for the pending level 8 and 9 runs). The main session must run it after those hardware runs. kernel-open/nvidia_rs.ko still has the sha256 below.",
|
|
"original": {
|
|
"object": "nv-kernel.o_binary",
|
|
"sha256": "5269a23ffba19a17fe16f076463e7ad4151254659441d1711bee6c6221ff6f4b"
|
|
},
|
|
"implemented": {
|
|
"gpu/engine_construct.rs": "gv100(): the States of OBJMC, KernelMc, Intr, OBJTMR, OBJBUS as the GV100 creation leaves them (zeroed object, property-binder values of reports/gv100-engine-hal-bindings.json, then the verified constructors intr_init::construct_engine and bus_stage::construct_engine); GV100_GPU (GPU+90b, +90f, +998, +e00, +e01, +69e4, +52fc, +6d29 after the attach), GV100_GPU_4DD8 = 1, Intr+3f7 = 1, OBJTMR+24e = 0, empty timer lists; child_present() (GPU child pointer set, from the engine set and the children-present table); Constructed::timer_selection, ::mc_load_inputs. Fields of engines without a Rust constructor (Perf+337, MemorySystem+4384, KernelGmmu+4a0) are caller-supplied (Foreign).",
|
|
"gpu/engine_bodies_more.rs": "MoreEngines = FirstEngines plus eight callbacks: OBJTMR PreInitLocked _nv059666rm (0 with OBJTMR+24e clear; the other branch is refused), OBJTMR InitUnlocked _nv059664rm (one callee _nv006684rm, trait TimerServices), OBJTMR Load _nv059665rm (timer::load::state_load over empty lists; a queued event is refused), constants OBJHSHUBMANAGER InitLocked _nv035792rm, VirtMemAllocator PostLoad _nv026119rm, OBJSEC2 PostLoad _nv055934rm, KernelFifo Load _nv040425rm, OBJDPAUX Load _nv026431rm. CONNECTED lists the 23 callbacks answered.",
|
|
"gpu/engine_live_support.rs (test only)": "parser of the live oracle; byte image of States by original object and offset",
|
|
"gpu/engine_set_tests.rs, engine_set.rs (edited)": "the pass fixture World is generic over the body provider (trait Journal) and visible inside gpu:: so that the live comparison reuses it; no change of behaviour (the step-1 oracle tests pass unchanged)",
|
|
"tools/check_gpu_engine_live_binary.py": "imports the dispatch harness and the RM API emulator unchanged; writes target/gpu-stage/original-engine-live.txt; SURVEY mode writes reports/gv100-engine-callback-survey.json",
|
|
"tools/first_open_coverage.py": "writes reports/first-open-coverage.json; --check; --markdown"
|
|
},
|
|
"oracle": {
|
|
"tool": "tools/check_gpu_engine_live_binary.py",
|
|
"file": "target/gpu-stage/original-engine-live.txt",
|
|
"sha256": "561e733f4ca06a00b65478b2f2729a84f28d232e453b09d0dd021a4b1e169caf",
|
|
"regenerated_identically": "two consecutive runs gave the same file",
|
|
"method": "GPU and engine objects from the original's core init, probe and gpumgrAttachGpu (gpu_world, imported). The original _nv031220rm, _nv031215rm, _nv031217rm run from their entries; 23 callbacks run as original instructions in their place in the walk (not hooked), the other 166 non-default callbacks are recorders returning 0. Register reads are answered from the physical transcript target/trace/b3-bar0.txt: inside a callback's transcript window the n-th read of a register gets the n-th physical read; otherwise the last read before the window or pass, else the first. Writes are recorded, not applied. A callee is every function entered from the body that the Rust body does not reproduce itself (TRANSPARENT in the tool); it runs as original code and is recorded with arguments, result and the bytes it changed.",
|
|
"construct_lines": 60,
|
|
"live_callbacks": [
|
|
{
|
|
"callback": "OBJMC PreInitUnlocked",
|
|
"body": "_nv043631rm",
|
|
"locked": false,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 2,
|
|
"transcript": "- none",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "Intr PreInitLocked",
|
|
"body": "_nv037777rm",
|
|
"locked": true,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 86,
|
|
"transcript": "- none",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "OBJTMR PreInitLocked",
|
|
"body": "_nv059666rm",
|
|
"locked": true,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 0,
|
|
"transcript": "- none",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "OBJBUS PreInitLocked",
|
|
"body": "_nv018656rm",
|
|
"locked": true,
|
|
"reads": 5,
|
|
"writes": 0,
|
|
"callees": 2,
|
|
"transcript": "37591-37603 differs emulated=14 physical=13 +R100a0c",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "OBJMC InitUnlocked",
|
|
"body": "_nv043629rm",
|
|
"locked": false,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 5,
|
|
"transcript": "- none",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "OBJMC InitLocked",
|
|
"body": "_nv043628rm",
|
|
"locked": true,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 3,
|
|
"transcript": "48161-48181 differs emulated=20 physical=21 -R13718c",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "KernelMc InitLocked",
|
|
"body": "_nv041564rm",
|
|
"locked": true,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 2,
|
|
"transcript": "- none",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "Intr InitUnlocked",
|
|
"body": "_nv037773rm",
|
|
"locked": false,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 4,
|
|
"transcript": "- none",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "Intr InitLocked",
|
|
"body": "_nv037772rm",
|
|
"locked": true,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 0,
|
|
"transcript": "- none",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "OBJTMR InitUnlocked",
|
|
"body": "_nv059664rm",
|
|
"locked": false,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 1,
|
|
"transcript": "- none",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "OBJTMR InitLocked",
|
|
"body": "_nv059663rm",
|
|
"locked": true,
|
|
"reads": 1,
|
|
"writes": 2,
|
|
"callees": 1,
|
|
"transcript": "48182-48184 same-accesses-other-values 9410:0/18e93132 9400:3b9ad1d0/69339ba8",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "OBJHSHUBMANAGER InitLocked",
|
|
"body": "_nv035792rm",
|
|
"locked": true,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 0,
|
|
"transcript": "- none",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "OBJBUS InitLocked",
|
|
"body": "_nv018653rm",
|
|
"locked": true,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 1,
|
|
"transcript": "107714-107727 equal",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "OBJMC Load",
|
|
"body": "_nv043630rm",
|
|
"locked": true,
|
|
"reads": 2,
|
|
"writes": 2,
|
|
"callees": 2,
|
|
"transcript": "139243-139246 equal",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "KernelMc Load",
|
|
"body": "_nv041565rm",
|
|
"locked": true,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 3,
|
|
"transcript": "139247-139248 equal",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "Intr Load",
|
|
"body": "_nv037775rm",
|
|
"locked": true,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 0,
|
|
"transcript": "- none",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "OBJTMR Load",
|
|
"body": "_nv059665rm",
|
|
"locked": true,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 0,
|
|
"transcript": "139250-139259 differs emulated=0 physical=10 -R810084 -R810080 -R810084 -W9100 -R9140 -W9140 -R810084 -R810080 -R810084 -W9428",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "OBJBUS Load",
|
|
"body": "_nv018654rm",
|
|
"locked": true,
|
|
"reads": 3,
|
|
"writes": 10,
|
|
"callees": 7,
|
|
"transcript": "140573-140587 same-accesses-other-values 1140:8c0001f0/8c0001fe",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "KernelFifo Load",
|
|
"body": "_nv040425rm",
|
|
"locked": true,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 0,
|
|
"transcript": "- none",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "OBJDPAUX Load",
|
|
"body": "_nv026431rm",
|
|
"locked": true,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 0,
|
|
"transcript": "- none",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "OBJBUS PostLoad",
|
|
"body": "_nv018655rm",
|
|
"locked": true,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 0,
|
|
"transcript": "- none",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "VirtMemAllocator PostLoad",
|
|
"body": "_nv026119rm",
|
|
"locked": true,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 0,
|
|
"transcript": "- none",
|
|
"status": "0"
|
|
},
|
|
{
|
|
"callback": "OBJSEC2 PostLoad",
|
|
"body": "_nv055934rm",
|
|
"locked": true,
|
|
"reads": 0,
|
|
"writes": 0,
|
|
"callees": 0,
|
|
"transcript": "- none",
|
|
"status": "0"
|
|
}
|
|
]
|
|
},
|
|
"comparisons": {
|
|
"gpu::engine_construct::tests::every_field_equals_the_object_the_original_constructs": "every field of the five States, the argument bytes, Intr+3f7, OBJTMR+24e and the two timer list heads against the constructed objects (more than 4,500 bytes, the 0x10c8-byte interrupt service table included); the ten child pointers the bodies test against child_present(); OBJDISP absent, so OBJMC Load takes no byte from it. OBJTMR+248 (callback kind, value 1) is dumped by the oracle but has no Rust field.",
|
|
"gpu::engine_bodies_more::tests::the_connected_bodies_do_what_the_original_does_inside_the_passes": "base_pre_init::pre_init, bringup::initialize_engines and base_load::load (with post_load) over Dispatcher<MoreEngines>, starting from engine_construct::gv100: for each of the 23 callbacks the same register reads and writes in the same order with the same values, the same callees in the same order (name and checked arguments), the same status and lock state, and the same resulting state (every byte the original body changed in the GPU object or any engine object is a field of the Rust states and equal; bytes callees changed in those fields are applied from the oracle); the whole walk of 189 callbacks in the same order; the three passes return 0. Callee results are taken from the oracle: the test does not show that a callee has a Rust producer.",
|
|
"mutation_checks": "changing one write value, one state byte, one construct byte, one status, or removing one callee line in a copy of the oracle makes the corresponding test fail (done by hand on 2026-11-20 at 18 live callbacks, before the last five were added)",
|
|
"tests without an oracle": "constructors run in creation order with their callees; a declining constructor is reported; child presence for absent, omitted and non-list children; timer Load and PreInitLocked refuse the states they do not cover; CONNECTED names each callback once with the body the table holds"
|
|
},
|
|
"transcript_comparison": {
|
|
"equal": [
|
|
"OBJMC Load 139243-139246",
|
|
"KernelMc Load 139247-139248",
|
|
"OBJBUS InitLocked 107714-107727 (fuse words read by GPU+598 _nv030482rm; the segment map attributes these lines to KernelGmmu)"
|
|
],
|
|
"same_accesses_other_values": [
|
|
"OBJTMR InitLocked 48182-48184 (the time written is the fixture's clock)",
|
|
"OBJBUS Load 140573-140587: first 0x1140 write 0x8c0001f0 in emulation, 0x8c0001fe physically: the pre-stage engine reset of _nv000790rm ran _nv018640rm, which ORs 0xe into OBJBUS+668; the pre-stage is not part of the emulated sequence"
|
|
],
|
|
"different": [
|
|
"OBJBUS PreInitLocked 37591-37603: the emulation has one more read (0x100a0c, inside KernelBus+168 _nv039317rm)",
|
|
"OBJMC InitLocked 48161-48181: the physical run has one more read (0x13718c) in front; the port reset through slot 1b0 of the I2c object (_nv036695rm) is the rest (the segment map attributes these lines to Pmgr)",
|
|
"OBJTMR Load 139250-139259: no access in emulation, ten physically (timer interrupt, enable, alarm): an alarm event is queued by then on a physical first open; which earlier callback schedules it is not established"
|
|
]
|
|
},
|
|
"instruction_level_readings": {
|
|
"_nv040425rm, _nv026431rm, _nv035792rm, _nv026119rm, _nv055934rm": "REA Ghidra listings: endbr64; xor eax, eax; ret (evidence ev_1f61d305..., ev_771bea75..., ev_cb1798b4..., ev_d3b6afc7..., ev_efd37ea5...)",
|
|
"_nv059665rm": "ev_7f701d46...: reads OBJTMR+250 and +258; both null: returns 0 without a call",
|
|
"_nv059666rm": "ev_6218dec7...: byte OBJTMR+24e zero: returns 0; else busy word, OBJTMR+190 unless GPU+998 with GPU+69e4 == 4 or GPU+e01, busy word cleared",
|
|
"_nv059664rm": "ev_fb2533d4...: _nv006684rm(OBJTMR+2520, OBJTMR, 0, OBJTMR, 0, _nv016382rm, 0), result returned",
|
|
"_nv059479rm": "ev_9f42962d...: mov eax, [global]; ret (treated as plumbing in the oracle)"
|
|
},
|
|
"coverage": {
|
|
"report": "reports/first-open-coverage.json",
|
|
"total": {
|
|
"rows": 146,
|
|
"instances": 192,
|
|
"connected": 23,
|
|
"verified-blocked": 6,
|
|
"part": 8,
|
|
"none": 155
|
|
},
|
|
"counts_by_pass": {
|
|
"PreInit": {
|
|
"rows": 22,
|
|
"connected": 4,
|
|
"verified-blocked": 0,
|
|
"part": 2,
|
|
"none": 24,
|
|
"instances": 30
|
|
},
|
|
"Init": {
|
|
"rows": 56,
|
|
"connected": 9,
|
|
"verified-blocked": 1,
|
|
"part": 4,
|
|
"none": 62,
|
|
"instances": 76
|
|
},
|
|
"PreLoad": {
|
|
"rows": 5,
|
|
"connected": 0,
|
|
"verified-blocked": 0,
|
|
"part": 0,
|
|
"none": 13,
|
|
"instances": 13
|
|
},
|
|
"Load": {
|
|
"rows": 40,
|
|
"connected": 7,
|
|
"verified-blocked": 5,
|
|
"part": 1,
|
|
"none": 37,
|
|
"instances": 50
|
|
},
|
|
"PostLoad": {
|
|
"rows": 23,
|
|
"connected": 3,
|
|
"verified-blocked": 0,
|
|
"part": 1,
|
|
"none": 19,
|
|
"instances": 23
|
|
}
|
|
},
|
|
"verified_blocked": [
|
|
{
|
|
"callback": "OBJACR InitLocked",
|
|
"body": "_nv016955rm",
|
|
"blocked_by": [
|
|
"OBJACR ConstructEngine",
|
|
"OBJACR PreInitLocked",
|
|
"OBJLSFM ConstructEngine",
|
|
"OBJLSFM PreInitLocked",
|
|
"OBJLSFM InitLocked",
|
|
"MemoryManager InitLocked"
|
|
]
|
|
},
|
|
{
|
|
"callback": "OBJACR Load",
|
|
"body": "_nv016956rm",
|
|
"blocked_by": [
|
|
"OBJACR InitLocked",
|
|
"OBJLSFM InitLocked",
|
|
"KernelBus InitLocked",
|
|
"OBJSEC2 ConstructEngine",
|
|
"OBJSEC2 InitUnlocked",
|
|
"Pmu ConstructEngine"
|
|
]
|
|
},
|
|
{
|
|
"callback": "Pmu Load",
|
|
"body": "_nv051860rm",
|
|
"blocked_by": [
|
|
"Pmu ConstructEngine",
|
|
"Pmu InitLocked",
|
|
"OBJACR Load",
|
|
"KernelBus InitLocked"
|
|
]
|
|
},
|
|
{
|
|
"callback": "Graphics Load",
|
|
"body": "_nv033665rm",
|
|
"blocked_by": [
|
|
"Graphics ConstructEngine",
|
|
"Graphics PreInitLocked",
|
|
"Graphics InitLocked",
|
|
"GraphicsManager InitLocked",
|
|
"KernelGraphics InitLocked"
|
|
]
|
|
},
|
|
{
|
|
"callback": "OBJSEC2 Load",
|
|
"body": "_nv055933rm",
|
|
"blocked_by": [
|
|
"OBJSEC2 ConstructEngine",
|
|
"OBJSEC2 InitUnlocked",
|
|
"OBJLSFM InitLocked",
|
|
"OBJACR Load",
|
|
"Pmu Load"
|
|
]
|
|
},
|
|
{
|
|
"callback": "OBJFIFO Load",
|
|
"body": "_nv028309rm",
|
|
"blocked_by": [
|
|
"OBJFIFO ConstructEngine",
|
|
"OBJFIFO InitLocked",
|
|
"KernelFifo ConstructEngine",
|
|
"KernelFifo InitLocked"
|
|
]
|
|
}
|
|
],
|
|
"ranking_top": [
|
|
{
|
|
"rank": 1,
|
|
"body": "OBJACR ConstructEngine _nv016731rm",
|
|
"body_bytes": 2277,
|
|
"blocks": 4
|
|
},
|
|
{
|
|
"rank": 2,
|
|
"body": "OBJLSFM ConstructEngine _nv043185rm",
|
|
"body_bytes": 393,
|
|
"blocks": 4
|
|
},
|
|
{
|
|
"rank": 3,
|
|
"body": "OBJSEC2 ConstructEngine _nv055607rm",
|
|
"body_bytes": 2054,
|
|
"blocks": 4
|
|
},
|
|
{
|
|
"rank": 4,
|
|
"body": "OBJTMR ConstructEngine _nv059547rm",
|
|
"body_bytes": 198,
|
|
"blocks": 4
|
|
},
|
|
{
|
|
"rank": 5,
|
|
"body": "OBJLSFM PreInitLocked _nv043239rm",
|
|
"body_bytes": 116,
|
|
"blocks": 4
|
|
},
|
|
{
|
|
"rank": 6,
|
|
"body": "OBJACR PreInitLocked _nv016961rm",
|
|
"body_bytes": 145,
|
|
"blocks": 4
|
|
},
|
|
{
|
|
"rank": 7,
|
|
"body": "MemoryManager InitLocked _nv044120rm",
|
|
"body_bytes": 2879,
|
|
"blocks": 4
|
|
},
|
|
{
|
|
"rank": 8,
|
|
"body": "OBJLSFM InitLocked _nv043236rm",
|
|
"body_bytes": 1896,
|
|
"blocks": 4
|
|
},
|
|
{
|
|
"rank": 9,
|
|
"body": "OBJSEC2 InitUnlocked _nv055926rm",
|
|
"body_bytes": 512,
|
|
"blocks": 4
|
|
},
|
|
{
|
|
"rank": 10,
|
|
"body": "Pmu ConstructEngine _nv051982rm",
|
|
"body_bytes": 1661,
|
|
"blocks": 3
|
|
},
|
|
{
|
|
"rank": 11,
|
|
"body": "KernelBus InitLocked _nv039595rm",
|
|
"body_bytes": 695,
|
|
"blocks": 3
|
|
},
|
|
{
|
|
"rank": 12,
|
|
"body": "KernelFifo ConstructEngine _nv040243rm",
|
|
"body_bytes": 457,
|
|
"blocks": 2
|
|
},
|
|
{
|
|
"rank": 13,
|
|
"body": "Pmu InitLocked _nv051858rm",
|
|
"body_bytes": 2121,
|
|
"blocks": 2
|
|
},
|
|
{
|
|
"rank": 14,
|
|
"body": "KernelFifo InitLocked _nv040424rm",
|
|
"body_bytes": 413,
|
|
"blocks": 2
|
|
},
|
|
{
|
|
"rank": 15,
|
|
"body": "Graphics ConstructEngine _nv031719rm",
|
|
"body_bytes": 2181,
|
|
"blocks": 1
|
|
},
|
|
{
|
|
"rank": 16,
|
|
"body": "OBJFIFO ConstructEngine _nv027761rm",
|
|
"body_bytes": 905,
|
|
"blocks": 1
|
|
},
|
|
{
|
|
"rank": 17,
|
|
"body": "Graphics PreInitLocked _nv033667rm",
|
|
"body_bytes": 717,
|
|
"blocks": 1
|
|
},
|
|
{
|
|
"rank": 18,
|
|
"body": "Pmu PreInitLocked _nv052516rm",
|
|
"body_bytes": 123,
|
|
"blocks": 1
|
|
},
|
|
{
|
|
"rank": 19,
|
|
"body": "GraphicsManager InitLocked _nv034082rm",
|
|
"body_bytes": 1632,
|
|
"blocks": 1
|
|
},
|
|
{
|
|
"rank": 20,
|
|
"body": "Graphics InitLocked _nv033663rm",
|
|
"body_bytes": 869,
|
|
"blocks": 1
|
|
},
|
|
{
|
|
"rank": 21,
|
|
"body": "KernelGraphics InitLocked _nv041066rm",
|
|
"body_bytes": 386,
|
|
"blocks": 1
|
|
},
|
|
{
|
|
"rank": 22,
|
|
"body": "OBJFIFO InitLocked _nv028307rm",
|
|
"body_bytes": 577,
|
|
"blocks": 1
|
|
},
|
|
{
|
|
"rank": 23,
|
|
"body": "Pmu PostLoad _nv051861rm",
|
|
"body_bytes": 417,
|
|
"blocks": 1
|
|
},
|
|
{
|
|
"rank": 24,
|
|
"body": "KernelFifo PostLoad _nv040427rm",
|
|
"body_bytes": 747,
|
|
"blocks": 1
|
|
},
|
|
{
|
|
"rank": 25,
|
|
"body": "OBJFIFO PostLoad _nv028310rm",
|
|
"body_bytes": 436,
|
|
"blocks": 1
|
|
}
|
|
],
|
|
"first_missing_in_walk": [
|
|
"MemorySystem PreInitUnlocked _nv045897rm (position 6)",
|
|
"MemorySystem PreInitLocked _nv045895rm (position 7)",
|
|
"KernelMemorySystem PreInitLocked _nv041691rm (position 8)",
|
|
"MemoryManager PreInitLocked _nv044123rm (position 9)",
|
|
"KernelBus PreInitLocked _nv039599rm (position 12)",
|
|
"Graphics PreInitLocked _nv033667rm (position 13)",
|
|
"OBJLSFM PreInitLocked _nv043239rm (position 14)",
|
|
"OBJACR PreInitLocked _nv016961rm (position 15)",
|
|
"Pmu PreInitLocked _nv052516rm (position 17)",
|
|
"MemorySystem InitUnlocked _nv045883rm (position 46)"
|
|
]
|
|
},
|
|
"survey": {
|
|
"report": "reports/gv100-engine-callback-survey.json",
|
|
"class_slots": 146,
|
|
"completed_on_the_constructed_state": 119,
|
|
"note": "planning evidence: each callback alone as original code with the others as recorders; a completed run with no access is not thereby a constant"
|
|
},
|
|
"findings": [
|
|
"All 23 connected callbacks return 0 inside the original passes on the constructed GPU, and the Rust dispatcher starting from engine_construct::gv100 reproduces each access, callee, state byte and status.",
|
|
"GPU+4dd8 = 1 comes from the GPU property initializer _nv005825rm, not from OBJBUS; OBJBUS InitLocked therefore calls GPU+598 once, and that call is the fuse read of transcript lines 107714-107727.",
|
|
"OBJMC InitLocked reaches the I2C port reset through slot 1b0 of the I2c object (GPU+20e8): transcript lines 48162-48181.",
|
|
"OBJBUS+668 at Load is 0x8c0001fe on a physical first open because of the pre-stage engine reset; from construction alone it is 0x8c0001f0.",
|
|
"Five callbacks the plan listed without a body are answered now: three are constant leaves, OBJTMR PreInitLocked returns 0 on a GV100 (OBJTMR+24e clear), OBJTMR InitUnlocked is one callee.",
|
|
"The six verified bodies of the direct path (OBJFIFO Load, Graphics Load, OBJACR InitLocked and Load, Pmu Load, OBJSEC2 Load) cannot be connected yet: each takes state from constructors or callbacks without a complete body (named in the coverage report). Run alone on the constructed state the original OBJFIFO Load and Pmu Load return 0x1f, Graphics Load stops in a MemorySystem callee, OBJACR Load and OBJSEC2 Load do not end within 240 s."
|
|
],
|
|
"not_done": [
|
|
"The plan's own step 2 (kernel owner of the set, kernel stage_path.rs) and step 3 (pre-stage in production): kernel work, excluded from this task.",
|
|
"No constructor was implemented. OBJTMR's constructor _nv059547rm in particular: its resulting fields are stated as constants and checked by the oracle, nothing else of the object is modelled.",
|
|
"The eight 'part' bodies were not connected: a callback slot is the whole body.",
|
|
"OBJTMR PreInitLocked with OBJTMR+24e set and OBJTMR Load with a queued event are refused (no oracle case; no owner of the events).",
|
|
"The callees of the connected bodies (for example _nv037657rm, _nv039317rm, _nv036695rm, _nv030482rm, _nv030976rm, _nv006684rm, the per-class interrupt registration methods) are answered from the oracle in the comparison; which of them have Rust producers was not audited here.",
|
|
"The pre-stage steps of _nv000790rm are not in the emulated sequence, so the state the connected bodies see differs from a physical first open where the transcript comparison says so.",
|
|
"The survey and the ranking are planning evidence; the dependency lists of the six blocked bodies restate module headers and were not each re-derived at instruction level.",
|
|
"tools/validate_all.sh, any hardware run, any kernel build."
|
|
],
|
|
"validation": {
|
|
"cargo clippy --workspace --all-targets -- -D warnings": "clean",
|
|
"cargo test --workspace": "713 passed, 0 failed (ignored tests not run)",
|
|
"cargo fmt --all -- --check": "no difference (read-only check; rustfmt was applied only to the files edited here)",
|
|
"gpu::engine_ with --include-ignored and both oracle variables": "17 passed",
|
|
"tools/gen_engine_set_tables.py --check": "current",
|
|
"tools/check_gpu_engine_dispatch_binary.py": "sha256 052ef95a... unchanged from step 1",
|
|
"tools/first_open_coverage.py --check": "current"
|
|
},
|
|
"makefile_check_lines": [
|
|
"$(REA_PYTHON) tools/check_gpu_engine_live_binary.py",
|
|
"python3 tools/first_open_coverage.py --check",
|
|
"NV_RS_ENGINE_DISPATCH_ORACLE=... NV_RS_ENGINE_LIVE_ORACLE=... cargo test -p nv-rs-core --lib gpu::engine_ -- --include-ignored (the existing line, with the second variable added)"
|
|
],
|
|
"sha256": {
|
|
"src/nvidia/src/gpu/engine_construct.rs": "d5d3f3d19c33eb30040d188350cb7fa9f5e4af51af386f50ebfbcccf1fef5620",
|
|
"src/nvidia/src/gpu/engine_construct_tests.rs": "2d6d7cc070922c506ad5904e03920a38ad169b8dc2e29fab21a19ca4c33bb565",
|
|
"src/nvidia/src/gpu/engine_bodies_more.rs": "274e9a6084c422f92c8063bac0817d617272f67de6f57518f40f2ae99782da7b",
|
|
"src/nvidia/src/gpu/engine_bodies_more_tests.rs": "62c2fe9af91069114c6cb4e505a6151c95bdd31c1116192d0f414f56a1cbb8a7",
|
|
"src/nvidia/src/gpu/engine_live_support.rs": "dbd46be249a3253c4534eb3d998c3cfad15d315f48f529f3474eaa9668317733",
|
|
"src/nvidia/src/gpu/engine_set.rs": "d865c40168028523a8dcb59044203c9d5abbe72adacafcaca96522dc3cb896e7",
|
|
"src/nvidia/src/gpu/engine_set_tests.rs": "1be2dc04a85bd6068cabb9104df22cc4a8ad7fc6e348d75c65d80ba0af95a19a",
|
|
"src/nvidia/src/gpu.rs": "6debfcfe48f226321b1478bac3177e4c3bb56b9416d9b48c68c6c84f0aa235da",
|
|
"tools/check_gpu_engine_live_binary.py": "f91a8c9b23e19c935ca7945e9a4073fdb86917e08909d82142e8a7bfc496b070",
|
|
"tools/first_open_coverage.py": "e2da6553ef0c735c31f7797aac571e5fdbde4a783302a4af7984a1a73034c0b7",
|
|
"tools/check_gpu_engine_dispatch_binary.py": "e3dc7883b2bfd213c11e05c0398d3f7353dbbdf9907eff8af20c642afad9307e",
|
|
"Makefile": "b9005413d6ac418a1223112f6a72996ab3250abb90f9ad4af51f15c942bdc89c",
|
|
"reports/gv100-engine-callback-survey.json": "d143297814484fc7f0638dbb327c19ba791b1d400d518dd755c8802cd24a1c01",
|
|
"reports/first-open-coverage.json": "700828fb18ecc7ac6b22c5621f523fbf527d60c73233588e292a4ee0dfec5b7e",
|
|
"target/gpu-stage/original-engine-live.txt": "561e733f4ca06a00b65478b2f2729a84f28d232e453b09d0dd021a4b1e169caf",
|
|
"target/gpu-stage/original-engine-dispatch.txt": "052ef95ad8c0f8d9053d569ab45f61a8da4d74aa284aea9b4aed928536ffade3",
|
|
"kernel-open/nvidia_rs.ko": "16bb434b1b1565a4f230e9388e0cc12a7a03f1621ee16274319d4917ab26d934"
|
|
}
|
|
}
|