Files
nvdriver/analysis/closed-driver-580/acr-load-implementation-notes.md
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

56 KiB

ACR load step on GV100: implementation record

Scope: what the original 580.178.04 OBJACR does on a Tesla V100 between "BAR2 bound, FIFO host loaded" and "SEC2 has run the HS ACR image and halted", as reproduced in core gpu/acr_load.rs and gpu/acr_load_bar2.rs. Evidence labels as in BRIEF.md: [A] instructions read, [D] pseudocode only, [S] public source, [T] physical transcript (target/trace/b3-bar0.txt, b3-bar12-rle.txt), [E] original instructions executed by tools/check_gpu_acr_load_binary.py (548 cases, reports/gpu-acr-load-validation.json), [I] inference. The driver's own signed images are loaded unmodified; nothing here changes or bypasses a signature.

1. Function chain

Step Original Rust Evidence
InitLocked _nv016955rm -> _nv016940rm, OBJACR+120 _nv016953rm, _nv016937rm (_nv016725rm); failure: class StateDestroy _nv016954rm acr_load::init_locked E 224
Load _nv016956rm: PMU+2f8 _nv052412rm (reads 0x10a100), OBJACR+180 _nv016923rm (nothing without a PSDL certificate), OBJACR+128, _nv016973rm acr_load::load E 16, T
Bootstrap OBJACR+128 _nv016931rm: _nv043215rm, _nv016747rm, _nv016741rm(type 1), _nv016974rm, MemorySystem+1058 _nv046002rm (constant 0) load E
Image write _nv043215rm (OBJLSFM) through _nv044028rm/_nv044029rm with flags 0x16 acr_load::write_region_image over wpr_blob::compose_gv100 E, T
HS runner _nv016741rm: _nv016905rm, _nv016965rm, OBJACR+110 _nv016753rm (status discarded), upload, Falcon+248, OBJACR+158 _nv016730rm, _nv016748rm acr_load::run_hs E 223
SEC2 launch Falcon+248 _nv028470rm: +250 _nv028502rm, OBJMC+198 _nv043581rm, _nv028467rm x3 (interface +c8 -> OBJSEC2+458 _nv055882rm -> OBJSEC2+268, Falcon+1a0 _nv028785rm), _nv028746rm, +260 _nv028420rm (+98 _nv028536rm, _nv060601rm, space+e0, _nv040832rm), +270 _nv028379rm (MemoryManager+358, _nv026096rm), +a8 _nv028759rm (_nv013358rm), _nv028457rm, _nv028523rm, +1c8 _nv028764rm, +268 _nv028781rm (_nv028782rm, +278 _nv028770rm, space+e8, _nv060602rm, +a0 _nv028537rm) acr_load::launch (private), reset shared with nvdec_hs_run E
Region check _nv016974rm with OBJACR+150 _nv016745rm acr_load::check_regions over acr_wpr_region E 35, T
Check after _nv016973rm: MemorySystem+ec8 _nv044823rm (reads 0x12006c), +ed0 _nv044821rm (constant 0x2000000), OBJACR+190 _nv016911rm, +198 _nv016948rm acr_load::check_after E 50, T, A (_nv016948rm)

Public names where the code is shared [S, by structure]: _nv043694rm memdescCreate, _nv043691rm memdescAlloc, _nv060601rm vmmCreateVaspace (class 0x90f1), _nv040832rm kgmmuInstBlkInit, _nv026096rm dmaAllocMapping, _nv026107rm dmaFreeMapping. The Falcon object code is closed.

2. Inputs and their sources

Input Source Value on the traced V100 Evidence
Region request OBJLSFM InitLocked through _nv016949rm: id 1, image bytes, alignment 0x20000, masks 0xc1000 -> 0xe0000, masks 0xc/0xc E (wpr blob oracle), E
Properties _nv005809rm; registry in _nv016731rm +385 = 1 (copy engine; we use 0), +386 = 1, +392 = 0, +529 = 0, +37f = 1 E (property bytes read in the harness), D (constructor)
Primary, shadow addresses internal heap (mmu::placement) 0x7fde80000 [T], 0x7fdda0000 [model, corroborated] see report allocations
Image compose inputs registers 0x10ac08 (bit 20), 0x21644, 0x10a108, 0x87108 0, 1, 0x400e0100, 0x20420100 T
HS image container bundle 0x11430c8: image tag 0x26 (fuse bit clear) or 0x24, layout 0x1a/0x19, signatures 0x3d (fuse clear) / 0x39 (fuse set), patch location 0x3b = 0x3e20, index 0x3a = 0 tag 0x26, signature 0x3d E (both fuse states)
Boot loader bundle 0x11401d8: tag 0x12 (entry 0xfd, size 0x200), tag 0x23 512 bytes at IMEM 0xfe00, tags 0xfd/0xfe E, T
Falcon base 0x87000, base2 0x87600, engine 0x28c40800, GPU+de0 0x140000a1 written to 0x87084 E, T
MC engine index and PMC bit of SEC2 FIFO function at +1b8 (types 0->8, 8->6) bit 14 [T]; index is the FIFO's T, fixture
Instance block space _nv043742rm on bits 23:22 of GPU+5308 framebuffer (0x87054 = 0x407fdf78) T
GPU+1e70 object byte +108 that object set by inference: line 141023 (R 0x1373a0) sits where its +100 function is called; _nv039060rm reads that register [D] I
Uninitialised descriptor words stack of _nv016741rm 0, 0x482c0008, 0xffff8c8f T; A for the single 4-byte store at the descriptor's start; the absence of other stores is from pseudocode
Store address for the last check MemorySystem+13c8 allocation 0x7fdfa0000 by the placement model I
Allocator results for the image, the instance block and five page levels internal heap image 0x7fdf79000 [I], instance 0x7fdf78000 [T], root 0x7fdf77000 [T], lower levels not traced T/I
Lowest free BAR2 mapping offset KernelBus mapping cache 0x2000 T

3. The descriptors

Region descriptor, 0x78 bytes at image offset 0x200 + layout word 2 = 0x3100 [A, E]: +0x10 region id of request 1 (1), +0x14 its offset (0), +0x1c region count (2), +0x20 start >> 8, +0x24 (end + 1) >> 8, +0x28 region id 1, +0x2c read mask, +0x30 write mask, +0x34 client mask (1 << request id), +0x38 shadow >> 8 (0 without a shadow), +0x58 and +0x60 zero. A failed copy leaves +0x10/+0x14 as in the file; the runner continues [E].

Boot descriptor, 84 bytes to SEC2 DMEM 0 [E, T]: word 0 = 0, words 1-3 never stored, words 4-7 0, ctxDma 1, code base = mapped address (0x1000), layout words 0, 1, 5, 6 as code offset/size and secure offset/size, entry 0, data base = layout word 2 + mapped address, data size = layout word 3, argc/argv 0.

4. What the kernel wiring needs

  1. BAR2 bound by bar2_setup with the flush page mapped; 0xe0000 bytes of BAR2 offsets free from bar2_base (the original uses the lowest free offset; 0x2000 traced).
  2. Level-3 reset state, PMC bit 14 controllable, SEC2 halted. FIFO host load is not needed for the CPU-copy branch.
  3. An allocator for: primary and shadow (InitLocked), the HS image (0x4700, tag 0x82), the instance block (0x1000, tag 0x7b) and five page-level pages. Use mmu::placement; release in the order the services report.
  4. Registers to read before composing: 0x10ac08, 0x21644, 0x10a108, 0x87108. load re-reads them in original order and fails with Changed if bit 20 or a DMEM size differs.
  5. Buffers: composed image (0xe0000), scratch_bytes(pack), a 0xe0000-byte copy buffer.
  6. Providers: time (timeout_start(0, 0) is the default GPU timeout), FIFO lookup, the services passed through (gpu_check, vbios_slot_238, gpu_1e70_slot_100).
  7. Implement acr_load_bar2::Io; call init_locked, then load.

5. Expected observable results on the traced V100

Status 0; SEC2 CPUCTL 0x10 after about 5,900 polls (17 ms under trace); MAILBOX0 and MAILBOX1 0; 0x100cd4 index 2 = 0x7fde802, 3 = 0x7fdf403, 0 = 0x80000c0, 1 = 0x80000c1, 4 = 0x1ffffe04, 5 = 0x5; PMU CPUCTL 0x50 at the next step (line 147279) [T]. A nonzero MAILBOX0 gives 0xffff [E]; a region mismatch gives 0xffff [E]; no halt in time gives 0x65 with the address space, the mapping and Falcon+3b1 left in place [E].

6. What the step leaves behind, and the original teardown

Left on hardware after success: the WPR registers locked on 0x7fde80000..0x7fdf5ffff (the lock is the firmware's; [T] readback), SEC2 halted, 0x87054 pointing at a released instance block, PMC unchanged, BAR2 entries of released pages still present (the original leaves them [T]), the LS PMU image placed (PMU CPUCTL 0x50 [T]).

Original teardown [D unless noted]:

  • OBJACR Unload _nv016962rm: unless GPU+91d is set (or GPU+69e4 == 1 with the GPU+22c0 byte +1eb clear) it calls OBJACR+130 _nv016972rm, which runs a second HS image on the Falcon to unlock the regions (acrUnlockRegions_GM200 in its lock strings): gate _nv016925rm, the image prepared at construct time into OBJACR+3c0 (_nv016905rm type 6, bundle of OBJACR+2d0 _nv016853rm = 0x1141350, 6,144 bytes, in the container), signature by _nv016965rm, a system-memory descriptor with tag 0xa7. Not implemented, not executed.
  • OBJACR StateDestroy _nv016954rm: frees the request list and its sub-descriptors, per region the range allocator, then backup, shadow and primary (free, destroy), clears +398. Its release order after a failed InitLocked is [E].

For a bring-up test before the GPU returns to the original driver: release the allocations; return BAR2 to physical mode as level 4 does; the WPR lock and the Falcon states stay until the unlock image runs or the GPU is reset. Whether the original driver's own first open succeeds on a GPU left with the regions locked is not established; the unlock run (or a secondary bus reset) should exist before this level runs on hardware.

7. Open questions

  1. Directory and page entry values of the Falcon address space and the PTE attributes _nv026096rm produces with flags 0x10: run the walker callbacks or read dmaAllocMapping/gmmuWalk in the public source against the closed symbols. Until then acr_load_bar2 writes BAR-space style entries [I].
  2. What holds 0x7fdf7e000 during the bootstrap (the image sits one page lower than the heap model alone gives) and is free again at the PMU start.
  3. The Unload path (section 6) and whether SEC2 needs anything before the LS PMU start.
  4. Whether the HS ACR accepts the CPU-copied shadow exactly as the copy-engine copy: same bytes by construction, not observed on hardware.
  5. The registration of the request (_nv016949rm) with more than one client request or a second region: not modelled (Unsupported).
  6. GPU+997 (read by OBJMC+198) and the 0x80/0x20c branch: executed only with the traced 0x80 value 0x8f.

8. Unload and level 7 (2026-11-19)

Evidence labels as above; [E] here is tools/check_gpu_acr_unload_binary.py (171 cases, reports/gpu-acr-unload-validation.json, oracle SHA-256 ec05ccc1...128548). The physical transcript contains no unload, so everything about the unload run is instruction-emulation evidence only. Section 6's teardown paragraph is corrected by this section.

8.1 What the original does

Step Original Rust Evidence
Unload _nv016962rm: skip when GPU+91d, or GPU+69e4 == 1 with GPU+22c0 byte +1eb clear; OBJACR+130; zero status clears OBJACR+37d; GPU+20c8 +1b8 when its byte +2d8 acr_unload::unload A, E
Gate _nv016925rm: OBJACR+37b clear and region 1 (OBJACR+150) with end != 0 and start <= end; PMU+9a2 set skips everything acr_unload::region_set A, E
Image prepared by the constructor: _nv016905rm(gpu, acr, 6, OBJACR+3c0); image and layout from bundle 0x1141350 (tags 0x26/0x1a, or 0x24/0x19 with bit 20 of 0x10ac08), signatures from bundle 0x1141058; _nv016965rm at unload time acr_unload::prepare, firmware_signature::apply E (both fuse states, bytes)
Memory _nv043694rm (0x1800 bytes, alignment 0x100, contiguous, system memory, cache 1), tag 0xa7, map, word copy, unmap Services of acr_load A, E
Launch PMU+2e0 _nv052043rm (OBJACR+38b clear): PMU reset, DMA index words, boot descriptor (index 4, bus address), boot loader 0x114fb18, start, halt wait acr_unload (private launch, reset) A (order), E
Status OBJACR+158 _nv016730rm type 6: SEC2 mailboxes because OBJACR+37f = 1 acr_load::run_status E
After PMU+f60 = 0x14, free, destroy. No read of 0x100cd4. unload A, E

So the load image runs on SEC2 from framebuffer memory through a Falcon address space, and the unload image runs on the PMU from system memory through DMA index 4 (0x10ae10 = 6). The unload needs no BAR2 mapping, no instance block and no SEC2 state; it needs the PMU resettable, PMC unchanged, and a bus address the PMU's DMA can reach.

Default register sequence [E, 227 accesses]: gate (0x100cd4 indexes 2, 3, 0, 1); 0x10ac08; 0x10a040; 0x80, 0x20c; reset hold (0x10a3c0, 0x10a014 = 0xffff, 0x10a0a4 = 2 and bit 9, 0x1221fc, 0x10a3c4 bit 4, 0x10a3c0 = 1 with ten reads, wait for bit 0); reset release (0x1221fc, 0x10a3c4, 0x10a3c0 = 0 with ten reads, 0x10a040 read and written back, 0x10a10c scrub bits, tables 0x10a134 = 0x20008, 0x10aa74 = 0, 0x10ae74 = 0, 0x10aa70 = 0x45, 0x10a04c, register 0, 0x10a014 = 0xffff, 0x10a01c = 0xff81ff52, 0x10a010 = 0xf3); 0x10a014 = 0xffff; 0x10ae00..0x10ae10 = 4, 0, 4, 5, 6; 0x10a10c bit 0 cleared; 0x10ae24 |= 0x80; 0x10a268; 0x10a1c0 = 0x1000000 and 21 words at 0x10a1c4; 0x10a108; IMEM at 0x100fe00 (128 words, tags 0x100, 0x101); 0x10a104 = 0x10000; 0x10a100 |= 2; wait for bit 4; 0x10a004 = 0x10; 0x87040, 0x87044.

Failure handling [E]: allocation or mapping failure returns 0x1a (creation failure its own status) without touching the PMU; a PMU state word above 1 gives 99, a missing OBJMC 0x56, both before any PMU register; no halt in time gives 0x65 after the PMU function at vtable +508, with PMU+42f left set; a nonzero MAILBOX0 of the checked Falcon gives 0xffff. Both halves of the reset return early on their own failures (reset not allowed 0x1b, a halt request that fails or times out, a scrub or idle wait that ends by time) and the launcher continues regardless. The allocation is released on every path after its creation.

8.2 First open with a region already set

OBJACR PreInitLocked (_nv004038rm -> _nv016961rm) calls OBJACR+108, +118 (constant zero), +100 (_nv016960rm) and then, with OBJACR+37b and +391 clear, tail-calls OBJACR+130 [A]. That is the gate seen at transcript lines 37715-37722 [T] (the earlier text and HANDOFF cite 37714-37721; the eight accesses are one line later). Executed in the harness: with the traced readings exactly those eight accesses; with region 1 set, the same 251 events as the default Unload case; with a PMU that never halts, status 0x65 [E]. The original therefore clears a region left set by an earlier instance itself, at PreInit, with the same PMU run. It does not refuse and does not reuse the region. _nv016960rm disables this (OBJACR+37b = 1) when the PMU is absent, PMU+d8c != 0, PMU+43c and OBJACR+388 are both clear, or the PMU ucode space word is not 2 [D]; the traced V100 passed it [T]. What the PreInit pass does with a nonzero status of this body was not executed [D].

8.3 Order relative to other engines

The unload touches PMC only through OBJMC+198 (reads of 0x80 and 0x20c on the traced values) and the PMU register block, plus 0x1221fc, 0x10ae00..0x10ae24 and register 0. It does not depend on BAR2, on the FIFO host state or on SEC2 being out of reset (it only reads two SEC2 mailboxes). A PMU that is running must have a state word of at most 1 in the PMU+b08 object, which is the PMU engine's own unload [D for the setters _nv051825rm, _nv051830rm, _nv051831rm]. In the direct bring-up path the PMU is never started, so that word is its initial zero [D: _nv006726rm].

8.4 Inputs and their sources

Input Source Value Evidence
OBJACR+37b, +37f, +38b, +390, +391 _nv005809rm; constructor and _nv016960rm with registry 0, 1, 0, 0, 0 E for the defaults; constructor not executed
PMU+9a2 no writer found 0 D
PMU+b08 state word _nv006726rm stores 0 0 while the PMU was never started D
PMU Falcon +3a7, +3aa, +3af, +3bb configuration functions in the harness 0, 1, 0, 0 E
GPU+915, +917, +918, +926, +91d, +69e4, +914, +97c, +4de4, +e00, +997 retained GPU image 915 = 1 at first open spine dossier
Bus address of the allocation OS allocator case input -
Boot loader container descriptors 0x114fb00, 0x114fb18 entry 0x100, 512 bytes E
Descriptor bytes 4-15 and 0x4c-0x53 never stored unknown on hardware A
GPU+1ec8 +160, _nv031481rm, PMU vtable +508, MemorySystem+f10, GPU+20c8 +1b8 other objects fixtures not resolved

8.5 Kernel level 7

bringup=7 is wired as a refusing level (src/nvidia/kernel/acr_bringup.rs): after levels 1 to 6, which are unchanged in every register access, it logs note 0x41430003 (bit 0 load records present, bit 1 unload records present), one note 0x41430002 per unresolved input and stage 0xffff0002, and returns -95. It makes no register access. The thirteen unresolved items and what would settle each:

  1. Falcon address-space entry values (open question 1 above): execute _nv026096rm with the walker, or match dmaAllocMapping/gmmuWalk of the public source against the closed symbols.
  2. GPU+1e70 byte +108 and function +100: identify the class at GPU+1e70 and its property initialiser; line 141023 suggests the function ran in the traced load.
  3. HS image address: find the request that holds 0x7fdf7e000 during the bootstrap.
  4. _nv031156rm: read and execute it; OBJACR+150 calls it first in the gate and in the check.
  5. GPU+20c8 +238 with argument 6.
  6. GPU+1ec8 +160 and GPU+e00: identify the class at GPU+1ec8 (the stub table may show a constant body).
  7. _nv031481rm: only reached while 0x10a04c reads busy after the reset.
  8. PMU vtable +508: only reached after a timed-out wait; identify the body.
  9. System memory for DMA index 4: confirm what _nv043721rm(descriptor, 1, 0) returns for a system descriptor (bus address with or without an IOMMU), that kernel/dma.rs gives the same kind of address, and that bus mastering is on at that point of the path.
  10. OBJACR and PMU bytes for this machine: execute _nv016731rm, _nv016960rm and the PMU constructor parts with the registry providers.
  11. GPU+22c8 +234, MemorySystem+8ccf, GPU+20c8 +2d8.
  12. Uninitialised descriptor words: zero is a choice, not a traced value, for the unload.
  13. BAR2 bound from level 4 through 7, and the request order primary, shadow, runlist buffers.

Safety ordering the executing level must keep: refuse unless acr_unload::records_present and every unload input is resolved; after the load log the 0x100cd4 words, the SEC2 mailboxes and PMU CPUCTL; run the unload; read the regions again with acr_unload::region_set; on a failed unload or a region still set log 0x414300ff = 0xdead0007 and continue with BAR2 teardown and the PMC restore.

8.6 State of the GPU after a failure

  • Load fails before SEC2 starts (allocation, mapping, reset): nothing is locked; the regions hold the image bytes in framebuffer memory only.
  • Load fails after the start (no halt, nonzero MAILBOX0, region mismatch): the regions may or may not be set; SEC2 may still run. Read region 1; if set, the unload is the recovery.
  • Unload fails: region 1 stays set (what the hardware then denies is not examined here [I]). The original driver's next first open runs the same unlock at PreInit (8.2). If that fails as well, a secondary bus reset or a power cycle is what remains; neither was tried.

8.7 Corrections to the load evidence

The load harness appends a case's read values to the default list, so values read once were never varied: no load oracle row has a nonzero MAILBOX0 or a DMEM boundary other than 0x100. _nv016730rm reads MAILBOX1 a second time for MAILBOX0 == 0xb, and _nv028457rm reads the control word back after every data word at or above the boundary and stops with 0x3f on bit 31 or bits 30:29; both are now in acr_load and compared through the unload cases [E]. The load harness itself was left as it is.

Addendum 2026-11-19 (main session): PreInit and an already-set region

  • [A] REA Ghidra reports that _nv016961rm (OBJACR PreInitLocked) ends in a terminal call through __x86_indirect_thunk_rax at 0x6baa81e, with fallthrough excluded. This agrees with the unload agent's reading that PreInitLocked tail-calls the function at OBJACR+130: the unlock's status is therefore the PreInit callback's own return value.
  • [I] A failed unlock at the original's first open is thus an OBJACR PreInit failure, handled by the base PreInit pass (_nv031220rm, reproduced in gpu/base_pre_init.rs). What first open does with that failure has not been traced for this engine.
  • [O] Separate observation, same day: after a PCI secondary bus reset of 0000:b3:00.0, the original driver's first open failed and its cleanup path crashed (see HANDOFF.md, "reboot required again"). A failing first open of the original is therefore itself hazardous on this machine; treat any state the original cannot initialize as costing a reboot.

9. Level 7 inputs resolved (2026-11-19)

Status of the thirteen inputs of section 8.5. Evidence labels as above; here [E] also means tools/check_gpu_acr_inputs_binary.py (3,533 cases, oracle target/gpu-stage/original-acr-inputs.txt, SHA-256 bb32be8c...f938faf) and tools/check_gpu_acr_construct_binary.py (1,127 cases, original-acr-construct.txt, d1d49aaa...0bb432), both compared by ignored tests of core gpu::acr_inputs. [B] = the original binder or creator executed in isolation with chip HAL 0x23 and RM HAL 2 (tools/gpu_engine_hal_bindings.py conventions). Nine items are settled; 1, 3, 9 and 13 are not, so bringup=7 still refuses before any register access (it now names those four). Nothing in this section was observed on hardware.

# Original GV100 result Evidence State
1 _nv060601rm, space+e0, _nv040832rm, _nv026096rm (flags 0x10), space+e8, _nv060602rm not executed. tools/check_gpu_bar2_setup_binary.py already runs the original page-level walker with a KernelGmmu built by the original format constructors, and translates BAR2 offsets through the tables the original wrote; a harness for the Falcon space can start from its setup part and call the six functions with the traced addresses (instance 0x7fdf78000, root 0x7fdf77000, image 0x7fdf79000, 5 pages). Call arguments [D]: _nv060601rm(vmm, 0x90f1, 0, 1 << GPU+c9c, 0x1000, 0x20000fff, 0, 0, 0, 0x4000000, &Falcon+648); _nv040832rm(KernelGmmu, instance descriptor, space, 0xffffffff, zeroed 32-byte block); _nv026096rm(gpu, GPU+1fb0, space, image descriptor, &va, 0x10 when descriptor+7c == 0, 0, 0, ~0) after MemoryManager+358(gpu, mm, descriptor, space+50, 1) D open
2 Jtag (class 0xd73cf9, GPU+1e70) creator _nv006537rm; +100 _nv039060rm +108 = 1 (bit chip&31 of 0x3ef for HAL group 1); +100 reads 0x1373a0 and answers "bit 3 clear". Traced value 0xa, answer false (line 141023; also 140588 before the fuse word) D (creator), E 7, T; lsfm_mask oracle already executed the creator settled
3 internal heap; _nv028536rm (Falcon+98) is the only function that tags a request 0x7b The page 0x7fdf7e000 is in use from before the early FIFO load (the CE channel's first 4 KiB request went to 0x7fdf7d000, lines 140961-140991) through the image request, and is free at the PMU launch: line 147346 binds it as the PMU instance block (0x10a480 = 0x407fdf7e), and instance blocks are requested inside the launch (Falcon+260 -> +98) [T, D]. 0x7fdf7e000 is exactly the BAR2 test page of mmu::placement (test_page), which the model releases at the end of the BAR2 test (heap_after_test). So either the original keeps the test page until some point between line 147277 and 147346, or another 4 KiB request takes its place; neither was established. No traced request so far distinguishes the two (the WPR-sized requests do not fit that hole). On the CPU-copy path the image address is whatever this driver's heap model gives for its own request sequence; equality with the trace, and certainty that the model's idea of free pages matches the original's, need this settled T, D, I open
4 _nv031156rm(gpu, 0, out); GPU+2c8 _nv031157rm; _nv030927rm 0x10 when GPU+917, word +918 or +926; 0xf when +915 clear; 0 when no bit 23:8 of GPU+908 is set (first open); otherwise GPU+69e4 (1 -> 0, 3 -> PCI lookup _nv030949rm), +963, byte +100 of the GPU+2430 object, +949, +90c, else 0x11 A (REA Ghidra), E 2,464 settled (acr_inputs::gpu_check; the PCI lookup branch is refused)
5 OBJVBIOS+238 _nv060173rm reads scratch register 0x1580 + 4 x index; index 6 = 0x1598, traced 0x22082045 (line 140590), field 15:12 = 2, so PMU+2f0 is not called E 24, T settled
6 _nv041589rm; KernelMemorySystem (GPU+1ec8) +160 _nv041625rm, +170 _nv041610rm (8); GPU+e00 is IS_VIRTUAL With GPU+e00 = 0: on first use one 4 KiB page of system memory (alignment 0x100, contiguous, cache 1, flags 1 = 32-bit addressable, tag 0xad), its GPU address (_nv043721rm(d, 1, 0)) must end below 2^40; then read 0x100c10 and write address >> 8. Public name by structure: kmemsysInitFlushSysmemBuffer_GM107. Traced: 0x5fbf50 written at 73937 and again at 138804. A failed or too-high first request takes a second request path (tag 0xae) that is not implemented E 60, T, S body settled (acr_inputs::flush_buffer); its page is part of 9
7 _nv031481rm(mask, engines, 0); _nv031398rm, _nv030927rm, _nv060224rm(Intr+430), _nv037739rm per GPU of the mask: the stall service only when the GPU is attached and the vector at Intr+430 has entries; a missing GPU ends the walk. The vector is filled by Intr InitLocked (gpu::intr_init), so in the original's own PreInit unlock (8.2) nothing is serviced. The direct path has no interrupt table and corresponds to that state A (REA Ghidra), E 972 settled (acr_inputs::interrupt_service; a non-empty table is refused)
8 PMU class vtable (inner object, rodata+0x4dc8a38) +508 _nv009524rm -> Falcon interface vtable +118 _nv028796rm the Falcon debug capture: stores Falcon+5d2/+5d3, _nv053829rm, _nv028433rm, _nv013360rm (journal and protobuf dump). Called only after a timed-out wait; the caller's status (0x65) does not depend on it D (relocation table for the two slots) identified; not reproduced: the level will log the timeout instead
9 _nv043694rm (space 1), _nv043691rm, _nv043721rm(d, 1, 0); nv_alloc_pages/nv_dma_map_alloc of the shipped interface layer; pci_set_master in nv_pci_probe (shipped nv-pci.c:474); nv_set_dma_address_size (osinit.c: gpuarchGetDmaAddrWidth) The address is the DMA (bus) address of contiguous kernel pages. The original has bus mastering on from probe (0x88004 reads 0x100506 at lines 37279, 140621, 165084; the reset clears and restores bit 2); the direct path reads 0x100502. A Falcon fetching system memory through DMA index 4 issues bus-master reads, so the level must enable bus mastering (nv_rs_pci_bus_master) before the PMU start and restore it after. The machine boots without an IOMMU option, so bus address = physical. Existing adapters: nv_rs_dma_* (dma_alloc_coherent, mask from kernel/gpu_arch.rs) S (shipped interface source), T analysed, not wired
10 OBJACR ConstructEngine _nv016731rm, property initializer _nv005809rm, PreInitLocked +100 _nv016960rm Without registry keys and with fuse bit 0 set (traced 0x21434 = 1): +37b 0, +37c 0, +37f 1, +385 1, +386 1, +38b 0, +38e/+38f/+390 0, +391 0, +529 0. Keys: RMAcrExecuteOnSec2 (0/1 -> +37f), RMAcrUseCeForShadowCopy (bit 0 -> +385), RmBootFromHs (three 2-bit fields -> +38e, +38f, +390, cleared again without the fuse bit), RmSwapAcrRegions (+529), RMDisableAcr, RMEnableAcr, RMEnableAcrRiscv, RmPmuBootstrapMode. _nv030951rm answers false without a read when GPU+4de4 is set. PMU+9a2: no store in any of the 59,501 pseudocode functions (the one +0x9a2 store is to a GPU object). PMU+b08 state word 0 before a PMU start E 1,127 (constructor), E (lsfm_mask, PreInit), D (PMU bytes) settled (acr_inputs::acr_construct_gv100); the level uses +385 = 0 (declared deviation)
11 Lpwr _nv005803rm; Lpwr child (Lpwr+11b8, creator _nv006711rm, binder _nv006025rm) +178 _nv051199rm; MemorySystem _nv005807rm; OBJVBIOS _nv005846rm, +1b8 _nv059912rm Lpwr+234 = 1, so the child function is called; it acts only when child+3c4 is set, which only _nv051211rm/_nv051212rm do (child +168 on other chips; GV100 binds the constant _nv051209rm). MemorySystem+8ccf = 0. OBJVBIOS+2d8 = 1; +1b8 releases the descriptor at OBJVBIOS+16d8 if there is one B, E 6, D settled
12 _nv016741rm, _nv016972rm The words are reserved[1..3] of RM_FLCN_BL_DMEM_DESC (public rmflcnbl.h), and for the unload also argc and argv. All 84 bytes are copied to DMEM [E], so they do reach the Falcon. The traced load ran with 0, 0x482c0008, 0xffff8c8f in the reserved words and SEC2 halted with MAILBOX0 0 [T]. The load stores argc = argv = 0 explicitly [E]. The level passes zeros for all of them; this is the one place where the original's value is undefined, and for the unload's argc/argv no hardware observation exists S, E, T settled by decision
13 - not implemented. The producer of the PMU surface size (_nv052601rm, traced argument word 0x20207a00 at line 147444) was not executed - open

Other points settled on the way:

  • The R 1373a0 / R 021434 pair at lines 140588-140589 is _nv030951rm (lsfm_mask::fuse_predicate), not part of the Load body; R 001598 at 140590 is item 5.
  • Bus mastering is what distinguishes the 0x88004 read-backs of levels 3 to 6 from the trace.
  • CLAUDE.md (machine safety rules, added after the power cycle of 2026-11-19) classifies an experiment that can leave a GPU the original cannot initialize as needing its own explicit confirmation. Level 7 is such an experiment (section 8.6); the standing approval does not cover it.

9.1 Correction of the load oracle

tools/check_gpu_acr_load_binary.py now replaces a register's default read list with the case's list (overridden) instead of appending to it (section 8.7). Old oracle SHA-256 f0e5acb2...0256abce (kept as target/gpu-stage/original-acr-load.before-read-fix.txt); the new hash and the comparison result are in reports/gpu-acr-load-validation.json (oracle_correction_2026_11_19).

10. Items 3 and 13 of section 9 resolved (2026-11-19, placement task)

Appended; nothing above was changed. Labels as in section 9; [E] here means the direct rows of tools/check_gpu_memory_placement_binary.py (1,081 rows, oracle now 11,427 rows, SHA-256 cf8be28d...c217fda6; the first 10,346 rows keep 9205a3b0...0978f24) and tools/check_gpu_pmu_surface_size_binary.py (1,305 cases, ba617bc8...cbf1a7a3).

Item 3: 0x7fdf7e000 is the PMU instance block. Neither alternative of section 9 holds as stated. The BAR2 test releases its page inside the test [A: the descriptor is a local at 0x60(%rbp) of _nv039656rm, created by _nv043695rm; the success path at +0x8ff calls _nv043773rm, _nv043704rm, _nv043699rm]. The next request that fits a 4 KiB hole is made by PMU InitLocked: _nv051858rm -> _nv052270rm(gpu, pmu, pmu+0xc20) -> _nv052603rm (surface object), _nv052299rm (0x1000), _nv052601rm (framebuffer, contiguous, alignment 0, 4 KiB page size, tag 0xe), _nv044030rm (zero fill), stored at pmu+0xca8 [A]. It comes after the two WPR requests of OBJACR InitLocked (load position 27 before 28) and takes the top page of the 0x1f000-byte hole above the WPR primary: 0x7fdf7e000 [E]. It is not released and requested again: _nv052272rm reads the same surface and writes 0x10a048 |= 1, 0x10a090 |= 0x10000, 0x10a480 = 0x40000000 | address >> 12 [D], which is transcript lines 147342-147346 [T]. So the PMU's instance block is not requested inside the launch through Falcon+0x98; only SEC2's is.

Request (original order, no copy-engine channel) Shape Traced V100 Evidence
WPR primary, shadow 0xe0000, align 0x20000 0x7fde80000, 0x7fdda0000 E, T
PMU instance block 0x1000, align 0, 4 KiB pages 0x7fdf7e000 A, E, T
PMU super surface 0x207a00, align 0, 4 KiB pages, not flagged contiguous 0x7fdb98000 A, E, T (runlists)
26 runlist buffers 0x20000, align 0x1000 0x7fdb70000 down E, T
HS image (bytes + 0xff) & 0xffffff00, align 0x100, tag 0x82 0x7fdf79000 A, E, T
SEC2 instance block 0x1000, align 0, tag 0x7b (_nv028536rm executed) 0x7fdf78000 E, T
root, then four levels 0x1000, align 0x1000, 4 KiB pages, tag 0xb0 (_nv013506rm executed) 0x7fdf77000, then 0x7fdf76000..0x7fdf73000 E, T (root)

Rust: mmu::placement::init_locked, HsLoad::allocate/release, hs_image_request, pmu_surface_request and the three request constants. The SEC2 instance block is framebuffer memory because _nv005825rm sets GPU+0x5310 and _nv030827rm then stores 0x30033030 / 0xc00000 in GPU+0x5300 / +0x5308 [E]; the page levels are framebuffer memory by the default of the KernelGmmu constructor _nv040666rm [D]. Not executed: _nv060601rm, _nv040832rm, _nv026096rm (item 1 stays open); which of the four lower pages each level gets follows the walker's descent [S, I].

Item 13: the PMU surface size is a constant per chip. _nv052601rm is the allocator, not the producer. The size comes from _nv052583rm -> _nv052522rm -> _nv052179rm, a dispatcher on the chip word; a GV100 (0x23) reaches _nv052177rm, which stores 0x207a00 twice [A, E]. No register, registry key or PMU field enters. Rust: gpu::pmu_surface_size::super_surface. Open beside it: the surface at pmu+0xf08 (_nv052623rm, 0x1f5b0 bytes from _nv052618rm) depends on the object at pmu+0xe88; its constructor default is system memory, and the traced runlist buffers leave no room for a framebuffer request of that size before the super surface [T, I].

src/nvidia/kernel/acr_bringup.rs still lists 3 and 13 as unresolved; this task did not edit kernel files.

11. Level 7 executable (2026-11-19)

Sections 9 and 10 settle the inputs; this section records the last one (item 1), the kernel wiring and what a run is expected to show. The level has never run on hardware. Under CLAUDE.md it needs its own explicit confirmation: its failure mode can be a GPU the original driver cannot initialize.

11.1 Item 1: the Falcon address space [E]

tools/check_gpu_falcon_vaspace_binary.py (built on the setup part of tools/check_gpu_bar2_setup_binary.py) executes the whole chain through the real Falcon callers: Falcon+260 _nv028420rm (Falcon+98 _nv028536rm, _nv060601rm, space+e0 _nv004253rm, _nv040832rm), Falcon+270 _nv028379rm (MemoryManager+358 _nv044111rm, _nv026096rm, the walker and the GPU-space walker callbacks _nv013503/06/08/09/11/12rm, _nv040843rm) and Falcon+268 _nv028781rm (_nv026107rm, space+e8 _nv004257rm, _nv060602rm). 257 original functions on the traced case; 36 cases; oracle target/gpu-stage/original-falcon-vaspace.txt, SHA-256 432be609...c4ead06c2cef; gpu::acr_load_bar2::tests::compare_original_falcon_vaspace compares 5,855 events.

Traced case: instance block +0x208 = 0x20000fff (64-bit), +0x204 = 0x7, +0x200 = 0xfdf77c00; root[0] = 0x7fdf7602, directory entries 0x7fdf7502 and 0x7fdf7402, the dual entry 0 then 0x7fdf7302, page entries 0x7fdf7901 .. 0x7fdf7d01; invalidate 0x100cb8 = 0x7fdf770, 0x100cec = 0, 0x100cbc = 0x800000c1. The values acr_load_bar2 had inferred were right. What changed: the unmap (_nv026107rm) clears every entry, releases the page table and the three directories and invalidates; the unpin releases the root; the destroy has no device access. Still fixture or inference: the BAR2 mapping cache (trace-backed order only), the write-combine flush before the bus flush of a kept-mapping unmap, level allocation failures, an instance block outside the framebuffer. acr_load::FALCON_MAP_FLAGS = 0x10 is what the load harness's zero-filled descriptor produces; with the real descriptor (cache attribute 1) the caller passes 0, and the page entries are the same for both.

11.2 Items 9 and 13: the wiring

  • System memory: one 32-bit DMA context (kernel/dma.rs, dma_alloc_coherent) serves the unload image (0x1800 bytes; the original has no address limit for it, so a 32-bit address is within what it accepts) and the flush page of acr_inputs::flush_buffer (the original asks for a 32-bit addressable page). The bus address of the image goes into the boot descriptor with DMA index 4. Register 0x100c10 is saved before the flush page is programmed and written back at the end.
  • Bus mastering: enabled with pci_set_master after every refusal check and before the first step, cleared again at the end unless it was already on. The original has it on from probe; keeping it to this level leaves levels 1 to 6 as they were validated. Notes 0x4143000b/0c/0d carry the PCI command word before, during and after.
  • BAR2: for bringup >= 7 levels 5, 6 and 7 run inside the BAR2 step of level 4, between its read-back diagnostics and its unbind tail (adapter_start::upper_levels). The register accesses of levels 4 to 6 are the same as when they run one after the other.
  • Request order (section 10): WPR primary, WPR shadow, PMU instance block, PMU super surface (placement::init_locked, size from gpu::pmu_surface_size), the runlist buffers of level 6, then during the load the HS image, the SEC2 instance block and five page levels. Level 6 now returns its heap model. The PMU requests are model reservations only: this path does not start the LS PMU.
  • Instance block location: framebuffer, as transcript line 141146 shows and as _nv030827rm gives without registry overrides (section 10) [T, E for the fixture words]. The level refuses when RMInstLoc, RMInstLoc2, RMInstLoc3, RMInstLoc4, GlobalSurfaceOverrides or RmConfidentialCompute has a value.
  • Code generation: the kernel module may not call the compiler's copy and fill routines and no function may have more than 1,024 bytes of stack. wpr_blob::compose_gv100_into and compose_into write the description through a reference and split the five clients over two frames (oracle and trace tests of wpr_blob unchanged and passing); the BAR2 services and the description live in allocated storage; mmu::table_store initialises its link array in place.

11.3 Sequence of acr_bringup::run

  1. Refusals, each a note 0x41430002 and no register write: container records, registry or image unreadable (14), ACR disabled by ConstructEngine/PreInitLocked or a failing PMU constructor (15), an OBJACR configuration outside +37f/+386 set and +391/+38b/+390/+529 clear (16), an instance-location override (17), storage (18), engine table (19), GPU state (20: GPU+69e4 of 1 or 3, +914, +91d, +97c, +4de4, +e00, +cac below 0x20, a chip other than GV100, a nonzero _nv031156rm), placement (13), SEC2 not enabled in PMC (22), image composition (21), DMA context or bus mastering (9).
  2. Gate: acr_unload::region_set. If region 1 reads as set at entry: no load, unload only.
  3. Load: acr_load::init_locked on the placed regions, acr_load::load over acr_load_bar2::Bar2Services. Logged: status, SEC2 CPUCTL and mailboxes, PMU CPUCTL, the six words of 0x100cd4.
  4. Unload when the load returned 0, or a region reads as set, or region 1 was set at entry: acr_unload::prepare and acr_unload::unload. Logged: status, PMU MAILBOX0 and CPUCTL, the six words again.
  5. Both regions are read once more. A region still set, or an unload status other than 0, gives note 0x414300ff = 0xdead0007 and stage 0xffff0004.
  6. Cleanup: image memory, 0x100c10, flush page, bus mastering, DMA context (note 0x41430072, 7 when all three succeeded). Then, in adapter_start, the BAR2 unbind, and the PMC and bus mask restore as before.

11.4 State of the GPU at each failure point

Point State What the level does
Any refusal of step 1 untouched by this level (levels 1 to 6 ran) stage 0xffff0002, -95
Load fails before SEC2 starts (allocation, mapping, reset) region bytes in framebuffer memory only; registers not set reads the regions; no unload unless one reads as set; stage 0xffff0004
SEC2 never halts (0x65), nonzero MAILBOX0 (0xffff), region mismatch (0xffff) regions may or may not be set; SEC2 may still run until the PMC restore disables it reads the regions; runs the unload if one reads as set
Unload: system memory or mapping fails (0x1a) regions still set alarm note, stage 0xffff0004
Unload: PMU does not halt (0x65), nonzero MAILBOX0 (0xffff) regions probably still set; PMU out of reset with the image alarm note, stage 0xffff0004; the timeout is noted (0x41430043) instead of the original's debug capture
Unload returns 0 but a region still reads as set regions set alarm note, stage 0xffff0004
Cleanup incomplete (0x100c10 not restored, bus mastering still on, DMA context not closed) as the cleanup bits say stage 0xffff0004

After an alarm the original's own first open runs the same unlock at PreInit (8.2). If that fails too, only a reboot is known to recover the card, and a reboot of this machine can hang (CLAUDE.md). tools/run_hardware_first_open.py reports passed: false in every alarm case.

11.5 Expected notes of a successful run on the traced V100

41430007 007fde80, 41430008 007fdda0, 41430026 007fdf7e, 41430009 007fdb98 (before the level 6 notes), then 41430003 00000003, 41430006 00000001, 41430005 0000001c, 4143000b 00100502, 4143000c 00100506, 4143000f 00000000, 41430024 007fdf79, 41430025 007fdf78, 41430030 00000000, 41430023 00000010, 41430020 00000000, 41430021 00000000, 41430022 00000050, 41430010 080000c0, 41430011 080000c1, 41430012 07fde802, 41430013 07fdf403, 41430014 1ffffe04, 41430015 00000005, 41430032 00000001, 41430070 (0x100c10 as found), 41430071 and 4143000a (bus addresses

8), 41430040 00000000, 41430041, 41430042, 41430050 to 41430055 (region 1 empty: index 3 data 0), 41430072 00000007, 4143000d 00100502, 41430001 00070000. The values up to 41430032 are transcript values [T] or model values checked against it; everything from the unload on is what the emulated original leaves [E], not an observation.

12. Level 8 first hardware run and fix (2026-11-20)

Appended; nothing above was changed. Labels as in BRIEF.md. [E] here: the P and L rows added to tools/check_gpu_acr_load_binary.py (730 cases, oracle target/gpu-stage/original-acr-load.txt, SHA-256 b2171e34...52be093c; its first 573 rows are byte-identical to the previous oracle cff0fd5f...2b31c6ad6) and the rows added to tools/check_gpu_pmu_ls_start_binary.py (81 cases, 4573c99a...85388616; first 70 rows identical to 83998b9a...dd55239d). [O] = observed in the hardware run reports reports/hardware-first-open-b3-*.json. Bring-up level numbers are the current ones (8 = ACR load and unload, 9 = PMU/SEC2/FECS start); sections 8 to 11 call level 8 "level 7".

12.1 What the run hit

Run reports/hardware-first-open-b3-20261120T032846Z.json, module e7a5e158...: note 41430030 80000001 = acr_load::Error::Unsupported(_). Walk of acr_load::load as the kernel called it, with the logged state:

Step Condition With the run's inputs
init_locked Unsupported::Requests when the alignment is 0 alignment is REGION_ALIGNMENT (properties GV100_CPU_COPY): not reached
load SystemPrimary when +392 or +529 both clear in GV100_CPU_COPY: not reached
load Requests unless the request is mapped and has id 1 Request::from_image: id 1, 0xe0000 bytes: not reached
load PmuNotHalted when 0x10a100 bit 4 is clear and field 15:12 of scratch 6 (0x1598) is 1 0x10a100 = 0x20 [O, notes 41430022 and both inventories]: reached if the field is 1
run_hs CopyEngine when +385 clear: not reached
everything else Falcon, Provider, Changed, Layout, Buffer, Signature have other codes (0x80000005, 0x9..., 0xa..., ...) -

acr_unload (ImageType, Preamble, SecondImage) did not run: no region was set. So the only variant the code can return on this path is PmuNotHalted, and it requires scratch 6 field 15:12 = 1 at that moment. The register itself was not logged by that build; the timing agrees (14 microseconds between notes 4143000c and 41430030: no image write took place). The traced first open read 0x22082045 there (field 2) with the PMU halted (lines 140590-140591), so a GPU the original driver released differs from the traced state in both inputs of this test.

12.2 The original at this point

Question Finding Evidence
(a) Who tests what OBJACR Load _nv016956rm calls PMU+2f8 _nv052412rm(gpu, pmu) first (when byte +1e7 of the GPU+22c0 object is clear). It calls OBJVBIOS+238 with index 6 (_nv060173rm: R 0x1598), then _nv028552rm on the PMU Falcon (R 0x10a100, bit 4). Halted, or field 15:12 != 1: return 0. Otherwise tail call of PMU+2f0 A (REA Ghidra listing of _nv052412rm; objdump of the call site at _nv016956rm+0x10f)
(a) What the branch does PMU+2f0 _nv052403rm: OBJVBIOS+238 index 1 (R 0x1584), OBJVBIOS+240 index 1 with the value or 0x200 (_nv060210rm: W 0x1584), then tail call of the function at +d0 of the PMU+a00 object with (gpu, object, 10000). On a GV100 that is _nv052260rm: timeout start (10000 us, flags 0), then loop: halted test; on halted return the last time-check status; on status 0x65 call the PMU class vtable +508 (gpu, pmu, 1) and return 0x65; empty _nv049819rm; time check with line 0x101 A (_nv052403rm, _nv052260rm instruction lists), E 153 P rows
(a) What Load does with the status nonzero: one log call (_nv047869rm(0xea2b1fa, 0x2581000, status)), then it continues with OBJACR+180 and the bootstrap exactly as with zero A (objdump _nv016956rm+0x121 and +0x380), E 3 L rows (halting after the request, never halting, traced state: the events after the PMU step equal the default Load row)
(a) What it is not no PMU reset, no halt request through the Falcon debug register, no use of GPU+1ec8 +160 or GPU+e00 (those belong to the reset inside the unload's launcher _nv052043rm, section 8) A
(b) State of a released GPU PMU CPUCTL 0x20 (bit 5 = STOPPED per the public dev_falcon_v4.h, bit 4 HALTED clear), PMU SCTL (0x10a240) 0x3002; SEC2, FECS, GPCCS CPUCTL 0x10 and SCTL 0x3000. Identical at entry and after the level in all 14 runs (levels 2 to 8) O
(b) Does the level-3 reset touch the PMU No. _nv043609rm writes PMC enable 0x42001120 -> 0x42000020 -> 0x42001120 -> 0xbfffffff (reads back 0x1fecdff1); 0x10a100 and 0x10a240 read the same before and after in every run O, T (lines 37281-37287)
(b) Why it runs The original's unload pass _nv031040rm (callers _nv031151rm, _nv031152rm) calls OBJVBIOS+130 _nv060114rm(gpu, vbios, 0), which runs VBIOS command 0x19 through OBJVBIOS+180 and checks it through +188. The public source of a later chip has the same step under the comment "Invoke FWSEC-SB to put back PreOsApps during driver unload" (kernel_gsp_tu102.c); by that analogy the PMU of a released GV100 is running the VBIOS's pre-OS application, with scratch 6 field 15:12 = 1 as its running state D for the GV100 chain; S by analogy only; I for the meaning of the field
(c) What halts the PMU in the original's own first open The pre-stage devinit policy _nv060116rm calls OBJVBIOS+138 _nv060152rm. With GPU+90e, GPU+4de2 and OBJVBIOS+2de clear it stores OBJVBIOS+2dc = 0, calls OBJVBIOS+180 _nv060146rm(gpu, vbios, 0xe) and OBJVBIOS+188 _nv059895rm(gpu, vbios, 0xe, 0), then calls the PMU Falcon's function at +1e0 twice (0x40 bytes, then 0x90 bytes at the offset the first block names) and copies 0x4c and 0x2e bytes into OBJVBIOS+1254 and +12a0 A (objdump _nv060152rm+0xe0..+0x1e5; _nv060116rm+0x39d)
(c) The transcript Lines 24754-37220: R 0x10a100 until bit 4 (the run wait of the command executor); 37221 W 0x10a004 = 0x10 (after the wait, as _nv052647rm); 37222 R 0x1594 = 0x10008045 (_nv059895rm command 0xe reads scratch 5 and tests bits 25:16); 37223-37240 16 words from DMEM 0x1b20 (signature 0x50414d44, word 4 = 0x1ba0); 37241-37278 0x90 bytes from DMEM 0x1ba0 (first words 1, 0x90). This answers open question Q3 of the spine dossier T matched to A
(c) How the command runs _nv060146rm reaches the PMU through PMU+2e0 _nv052043rm, the launcher the ACR unload uses: it resets the PMU (both halves, statuses discarded) before it loads and starts the VBIOS application. The trace lost the events before the wait ("Lost 89884 events"), so the launcher's writes are not in the transcript D (call site in _nv060146rm), E for the launcher body (unload oracle)
(c) On a POSTed board It ran on the traced, already POSTed board. It is a query (its 0x90-byte reply is stored in OBJVBIOS), not a devinit script run; OBJVBIOS+1a0 _nv060110rm (command 0x12, only with OBJVBIOS+16b8 set) is the devinit command and has no counterpart in the trace T, D

So the original relies on neither a PMU halt in its ACR path nor on a halted PMU at entry: its pre-stage resets the PMU for its own purpose, and its ACR path has its own, gentler handling for a PMU that is still running. The direct bring-up path skips the pre-stage, so it meets the state the ACR path's branch was written for.

12.3 What changed in the Rust driver

  • gpu::acr_load: pmu_slot_2f8 and pmu_slot_2f0 reproduce _nv052412rm, _nv052403rm and _nv052260rm; load calls the first, reports a nonzero status through Services::pmu_slot_2f8_status and goes on. Unsupported::PmuNotHalted no longer exists. New services: vbios_slot_240 (GV100 body acr_inputs::vbios_slot_240, a store to scratch register index) and pmu_slot_508, moved here from acr_unload::Services.
  • gpu::pmu_ls_start (level 9): the PMU's own Load calls the same function. It refused whenever the field was 1, before reading CPUCTL; the original returns at once for a halted PMU whatever the field is [E: 8 new rows with a halted PMU, 4 of them with field 1, and 3 with a PMU that is not halted and another field]. It now reads both and refuses only the state that needs PMU+2f0 (not halted with field 1), which after a completed ACR load is not expected.
  • Kernel level 8 (kernel/acr_bringup.rs): notes 41430027 PMU CPUCTL, 41430028 PMU SCTL, 41430029/4143002a/4143002b scratch 1, 5, 6 before the load; 4143002c the status of the PMU step when it is not zero; 4143002d/4143002e scratch 1 and 6 after the load; 41430031 (load) and 41430044 (unload) name the Unsupported variant (1 CopyEngine, 2 Requests, 3 SystemPrimary, 4 ImageType, 5 SecondImage, 7 GuestDevice, 8 Preamble). A wait with an explicit interval (only the 10 ms of this step) has one clock tick added to its deadline: the kernel clock of this path advances in 4 ms ticks and would otherwise end the wait up to one tick early. tools/run_hardware_first_open.py decodes the notes and adds pmu_stop_request; tools/bringup_verdict.py names an unsupported branch (22 cases).
  • Levels 1 to 7 are unchanged: acr_bringup::run, acr_load::load and pmu_ls_start are reached only at bringup 8 and above, and no shared kernel path was edited.

Expected notes of the next level 8 run on a released GPU, before the notes of section 11.5: 41430027 00000020, 41430028 00003002 [O], 4143002b with field 15:12 = 1 (inferred from the stop of the first run), then no 4143002c if the PMU halts within 10 ms. Whether the application honours the request, how fast, and what scratch 6 reads afterwards are not known; nothing in the transcript shows this branch.

12.4 Failure states added by the PMU step

Rows added to the table of section 11.4. The step is the first thing the load does, so every later row of that table now starts from "PMU asked to stop".

Point State of the GPU What the level does What the original meets at its next first open
PMU halts within the wait scratch 1 bit 9 set (the original does not clear it either: no other store to scratch register 1 was found in its pseudocode); PMU halted, the application the original left is no longer running; nothing else written continues with the load _nv052412rm returns at once for a halted PMU [A]. The pre-stage runs VBIOS command 0xe through the launcher _nv052043rm, which resets the PMU first [D, E]. Its own unload starts the pre-OS application again (command 0x19) [D]
The wait ends by time (0x65) scratch 1 bit 9 set; PMU still running notes 4143002c 00000065 and 41430043 (CPUCTL); continues with the load, as the original does [A, E]. The SEC2 stop, the region samples and the unload of the review fixes apply unchanged the PMU in the state the original left it in, with bit 9 set in addition
Load fails after the PMU step and before SEC2 starts first row's state; region bytes in framebuffer memory only as section 11.4: regions sampled, no unload unless one reads as set, cleanup; the PMU stays halted as the first row
A provider fails inside the PMU step (register access error) at most scratch 1 bit 9 set load returns the provider error before any image write; stage failed; cleanup as the first or second row

Until now every stop of this level before SEC2's start handed the GPU back with the PMU untouched. That is no longer so: after this step the GPU returns with the PMU halted. The level's completed path already ended that way (the unload image leaves the PMU halted), so the class of end state is not new, but no hardware run has yet handed the original a GPU whose PMU is halted, and the statements in the last column are from instructions and emulation only. level_guard::dma_release is unaffected: it frees system memory when bus mastering is confirmed off or the PMU reads as halted, and a halted PMU cannot fetch.

12.5 Other stops checked against the state a released GPU presents

Where Condition Observed or derived state Result
level 8 refusals of run (section 11.3 step 1) software, registry, container, PMC bit 14 all passed in the first run (the load was entered) none
launch MC engine index of SEC2 not mapped by nvdec_hs_run::mc_mask the device table 0x22700.. of the board equals the transcript's [O, T]; SEC2 has index 0x2f, PMC bit 14 none
launch reset PMC bit 14 at entry, SEC2 CPUCTL 0x200 = 0x1fecdff1 after the level-3 reset, SEC2 0x10 [O] = traced values none visible
mc_gate 0x80 bits 6:4 all set takes the write branch (compared by execution only for 0x8f) not in the inventory; level 5 ran the same gate on hardware not checked from data
check_after regions within 0x2000000 of the MemorySystem+13c8 allocation give 0x40 placement notes equal the trace; with the traced region values the test passes for the modelled store address and for none none
unload: Preamble, ImageType, SecondImage PMU Falcon and OBJACR bytes the level passes GV100 defaults and refuses other OBJACR bytes before the load none
unload: clock-gating tables of 0x10a000 nv042890 and the Graphics services are not provided GV100_OBJECT_22C8.byte_269 is clear and the table is not a Graphics table, so only feature_state, record_feature and register writes are used none
unload: flush page a second request path is not implemented 32-bit DMA context, address below 2^40 none unless the allocation fails
level 9 pmu_ls_start refused whenever scratch 6 field 15:12 = 1 the field is 1 on a released GPU (12.1), and nothing known resets it before the PMU's Load real: fixed (12.3)
level 9, everything after the PMU's first test - not walked against data in this task open

The unload has still never run on hardware; nothing in the data available contradicts its inputs, and nothing confirms them.

12.6 Validation

tools/validate_all.sh 30/30 (742 workspace tests) on the tree with the two other agents paused; kernel-open/nvidia_rs.ko SHA-256 cde5dc2767ac6ef2e68aa897eb511c8e57bc9e8715376b1be63d65d91b82315f, guest module 2f1f57e1fd4ece4aa4ac3419db71f58a551da27d64bd4dca09d0e4c4dc152e09. Ignored tests with the regenerated oracles: acr_load (730 rows), acr_unload (171 rows, oracle unchanged ec05ccc1...128548), pmu_ls_start (81 rows, unbind 69 rows, transcript 147279-147456), acr_inputs, the Falcon address space, and the transcript test of the PMU function (lines 140590-140591 and 147278-147279). Report: reports/gpu-acr-level8-fix-validation.json. Nothing of this section has run on hardware. The module hash differs from the build of the first run, so a level 7 regression run comes before the level 8 rerun (HANDOFF rule).