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
66 lines
4.3 KiB
Plaintext
66 lines
4.3 KiB
Plaintext
Selected580 legacy FECS/GPCCS WPR protocol construction
|
|
|
|
This extends gpu-lsf-images.txt. All operations were CPU-only, with no physical
|
|
GPU access, authentication or readiness. Fresh REA instruction records retained
|
|
and closed/reset: gpu-lsf-header-rea/index.json (7),
|
|
gpu-lsf-boot-descriptor-rea/index.json (5), plus image-stage14 records.
|
|
|
|
Actual006000 HAL35 selector installs LSFM100=043212 (returns512) and118=043233.
|
|
043182 prepares one owned client header;043236 assigns list placement and registers
|
|
requestid1 via016949.043215 later copies WPR24 bytes from node10 and LSB240 bytes
|
|
from node30: the8-byte CPU protocol wrappers are not part of the physical output.
|
|
The LSB is192-byte versioned signature +12u32 tail, matching the pinned Nouveau
|
|
v5.15 include/nvfw/acr.h lsf_signature_v1/lsb_header_v1 as a structural crosscheck;
|
|
original580 instructions and original execution remain the authority.
|
|
|
|
Core gpu/lsf_entry.rs now constructs those physical headers from an actual selected
|
|
Plan. Explicit policy carries observed ACR388/37f bootstrap owner, Falcon3a2 lazy
|
|
field and owner513 override. No default runtime policy or client population is
|
|
created. Placement uses original512-byte initial alignment, client/shared list
|
|
terminators,256-byte LSB alignment,4KiB image alignment,256-byte separate BL-data
|
|
reservation and final4KiB aggregate size. AllocationRequest implements requestid1
|
|
alignment128KiB, or4KiB when actualACR392true/GPU4de4false, and actualACR387-selects
|
|
fields3/4=[8,8] versus[12,12]. This is arithmetic/record serialization only, not
|
|
an owned physical registration or evidence that FECS+GPCCS is a complete client set.
|
|
|
|
Actual FECS constructor006485 installs interface vtable05ed3d38; GPCCS006495 uses
|
|
05ed4058. Both interface+70 point028829->028607, and+28 point028812(return0).
|
|
The selected84-byte boot descriptor therefore has no argv/argc payload. It uses
|
|
actual image GPU base (Falcon3a4true:5f0, otherwise043721(3c8)), DMA context560,
|
|
selected native layout fields and64-bit code/data addresses. Rust receives the
|
|
actual base/context; it does not invent mappings. The core selected descriptor
|
|
writer preserves bytes beyond84 and rejects address overflow/misalignment.
|
|
|
|
Independent CPU instruction validation:
|
|
-12 original043182 cases compare all24+240 physical header bytes; original selected
|
|
callback043233 executes. Prepared028614 descriptor and043197 client lookup are
|
|
explicit fixture boundaries, not translated/tested whole dependencies here.
|
|
-8 original043236+016949 cases compare both client orders and ACR392/387 choices,
|
|
every24/240 header byte, final total and48-byte registered request record.
|
|
Preconstructed clients, no additional enumeration/association, zero shared-size
|
|
providers and resolved lookup are explicit fixture inputs. This does not prove
|
|
real PMU/SEC2/other-client enumeration or policy.
|
|
-24 complete original028829/028607/028812 descriptor cases compare84 output bytes,
|
|
physical addresses across64 bits,4 DMA contexts and untouched output padding.
|
|
Falcon3a4true with supplied5f0 is an explicit fixture input; no runtime assignment
|
|
or physical region admission is claimed.
|
|
|
|
An early in-progress header fixture incorrectly placed the layout pointer at
|
|
Falcon3d8 (overlay slot). Those provisional outputs were INVALIDATED and replaced
|
|
before validation: the corrected fixture copies the actual entire027605/029864
|
|
result138 bytes into Falcon3d8, preserving the real layout pointer at+3e8. Current
|
|
reports/vectors use the corrected fixture; this is why native comparison is required.
|
|
The whole image oracle was unaffected by this later header-fixture correction.
|
|
|
|
Current validation: tools/test_lsf_image_owner.sh6 tests +strictClippy with
|
|
codegen_audit enabled; tools/gpu_generate_lsf_entry_vectors.py --check;
|
|
all4 gpu_lsf_*_oracle.py --check; core strictClippy and cargo fmt --all -- --check.
|
|
New optional audit roots NV_RS_AUDIT_LSF_ENTRY_HEADERS/LSF_BOOT_DESCRIPTOR augment
|
|
LSF_IMAGE_PREPARE/CLOSE in kernel/lsf_image.rs. Root owns common retained codegen.
|
|
|
|
Required next stage: actual complete owned client enumeration/policy, retained GPU
|
|
address/DMA context source,043231 per-client descriptor population into real WPR
|
|
allocation, aggregate suballocation registration tied to real primary/shadow region,
|
|
then actual SEC2 VM/reset/DMEM/start/wait providers. NativeWPR RequestProvider remains
|
|
explicitly unavailable; no empty list/default successful request is substituted.
|