The 620 framing carried one queue element's worth of RPC but validated the
length against the R580 limit (0xffd0), so the largest payload the 24-byte
header allows (0xffc8, rpc.length 0xffe8) was refused. Derive the 620 limit
from `queueElementSizeMax - queueElementHeaderSize` as the closed driver does
(`gspMsgQueueGetMaxRpcSize`), and test framing exactly at the limit.
`gmcapi::write_message` zeroed its header with a plain store, which LLVM can
lower to memset once the module is linked; use the same black_box form as the
R580 packer. The NVKV walker branched on "has following words", silently
dropping zero-count SEQ*/ARRAY* entries; branch on the opcode instead.
Also remove the duplicated oracle fields, correct the 0x18 header size in the
framing comments, and update the oracle's own tests for the two accepted 620
releases and the two new probe headers.
Co-Authored-By: Codebuff <noreply@codebuff.com>
Resolve the three conflicts by keeping both sides: the R620 element framing
and FWSEC constants alongside the new Turing FWSEC-v2 parsing, the GMCAPI
module beside gddr5x_timings, and both sets of GPU tests.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
The audit still quoted the earlier 29-field run (and an intermediate 95) while
the oracle now checks 107 fields with no diffs, so the document contradicted
the command it tells the reader to run.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
The review fix pinned push, recv and drop_message to R580 because this graph
loads and checks GSP-RM 580.178.04, which made the framing note's claim that
gsp_abi selects the runtime session wrong. Record why the transport ignores
the module parameter and that the R620 helpers stay offline until this path
loads matching firmware.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
The 620 boot handshake is not the 580 one: `kgspSendInitRpcs_IMPL` sends a
single GMCAPI command (`GMCAPI_CMD_GSP_INIT`, NVDM type 0x26) carrying an
NVKV key/value array, and `rpc_global_enums.h` marks the three init RPCs we
send as deprecated. This lands the offline half of that work and makes the
existing 620 claims checkable, without switching the boot yet.
- ga10x: select R620 MCTP/NVDM element framing on the multi-generation boot
path instead of the 48-byte 580 element header, with ABI-aware push/recv/
drop (payload limit, reply offset, page count, bad-message skip).
- gmcapi: new module with the 40-byte header, an NVKV encoder (imm32/seq32/
seq64/array32/string8, NVIDIA's overflow semantics), the system-info key
set in the closed driver's order, the `nvkvDecode` walker, and the static
info decoder for the keys this driver consumes. 10 unit tests.
- fwsec: match 620's DMEM-mapper checks — two or more interface entries, the
fixed 8-byte stride, no signature check, the last-entry `dmemOffset` bound,
the full 64-byte mapper, and the fixed 1 MiB FRTS region size.
- wpr meta: the field at 0xF2 is `pagingConfig`, not padding; rename and drop
the byte-array packing helpers.
- oracle: accept both 620 patch releases, default to the in-repo reference
tree instead of skipping, and check 107 fields (queue element, WPR meta,
GMCAPI header, NVGMC_SI_*, NVGMC_SC_*) against 620.73.04 with 0 diffs.
The R580 path is unchanged. Nothing is hardware-verified: no `/dev/nvidia*`
was opened, and no GB207 boot is claimed. Remaining work is tracked in #185.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
The early OBJFIFO load failed with -EOPNOTSUPP whenever a runlist preempt
was still pending on its first poll: FifoIo::service_recovery answered
NOT_SUPPORTED, so the 64-read bound was effectively one read.
_nv028344rm (0x66b33d0) has no poll count. It leaves only when the
runlist's bit of 0x2638 reads clear, or when _nv059505rm returns 0x65 at
line 0x3e1, and the service it calls between polls, _nv037737rm
(0x690b640), returns void. Model both: end the wait only on clear or on
the thread timeout, and let service_recovery be infallible. Its ISR needs
the interrupt object's vector at Intr+0x430, which this early graph does
not build, so the service makes no register access here.
Fixes#179.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
- 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