mirror of
https://github.com/QuixiAI/nvdriver.git
synced 2026-12-06 06:28:39 +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
109 lines
7.1 KiB
Plaintext
109 lines
7.1 KiB
Plaintext
Selected Falcon parent and real registry-gated framebuffer CPU shadow path
|
|
|
|
The selected first HS launch parent028470 is now translated in
|
|
src/nvidia/src/gpu/falcon_boot.rs. It retains the decoded bootloader and actual
|
|
VM/mapping tokens; unavailable children quarantine the owner and cannot become
|
|
successful no-op retries. Explicit recovery access never clears quarantine.
|
|
The selected call uses fixed index1,FBMEM2,cache1,virtual1,wait1,no second image.
|
|
Clock presence/busy checks, temporary3a5/3a7/3aa mutations, reset1/0/1,1us delay,
|
|
interrupt-clear14, DMAindex4 save/clear, real VMM mapping, descriptor GPU-VA
|
|
updates, DMEM result handling, real IMEM transfer, mailbox/entry writes,
|
|
start/wait and executed-error flag restoration follow the original ordering.
|
|
|
|
64 actual original028470 executions match Rust ordered transcripts, descriptor
|
|
bytes, final fields, VM retention and statuses, over all initial reset/privilege
|
|
flags, DMEMstatus0/1f, success/timeout65/VMerror7/maperror8. Original028502 cached
|
|
actual selected bootloader access,028746 interrupt helper,028672/674 wrappers,
|
|
028523/579 IMEM run as original instructions. Clock/reset/VM/map/instance/DMEM/
|
|
start/wait and physical-register leaves are explicit scripted services; this
|
|
proves the parent/control-flow translation, not those missing hardware services.
|
|
Nine unavailable-child injections and register failure preserve owned partial
|
|
state and block retry. Diagnostics are recorder services, not OS-log parity.
|
|
|
|
Actual CPU-shadow policy provenance
|
|
Original016731 reads RMAcrUseCeForShadowCopy and assigns its LOW BYTE to385.
|
|
Default selected385true requires CE. Explicit real DWORD0 (or256 etc) selects
|
|
the original supported CPU-copy branch; an unset/failed registry key never
|
|
becomes zero. The new named LinuxRegistry DWORD accessor preserves executed
|
|
status and requires NBSI/complete registry behavior on missing base values.
|
|
The separately scoped PF CpuShadowPolicy borrows its actual parent/registry,
|
|
checks same-parent affinity and blocks mutation while the capability is used.
|
|
Six PF-owner host tests include actual C registry absent/0/1/256 cases.
|
|
|
|
First native-GPU integration does not require that private PF heap. New
|
|
kernel/wpr_shadow.rs NativeCpuPolicy owns an actual GpuLease and actual Linux
|
|
registry C context, accepts only successful low-byte0, and retains failed-close
|
|
ownership/module pins. It directly validates same_owner/matches_gpu against the
|
|
real framebuffer owner and actual LockedGpuRegisters. It uses no scalar pointer
|
|
identity, no arch/impl-as-GPU-ID and no private-slot-as-RM-instance fiction.
|
|
Core PF namespace is explicitly optional; native affinity uses actual leases.
|
|
|
|
Actual framebuffer-copy adapter and independent evidence
|
|
New core wpr_shadow.rs translates selected016753 CPU branch: actual2-region
|
|
capacity from016731->016916, physical256-byte address fields, actual region
|
|
attributes, bounded CPU buffer, real GPU group/CPU mapping/read/unmap then
|
|
shadow mapping/write/unmap, group/buffer release, selected368=016963return0,
|
|
and actual016932 request-id1 output/error semantics. Owned region descriptors,
|
|
mapping target, buffer and group persist on unavailable cleanup; retry remains
|
|
quarantined. No empty group substitutes for missing topology. All sizes/budgets
|
|
are bounded; no zero/default physical address is supplied for missing owners.
|
|
|
|
12 actual original016753+016932 executions match Rust:1/2 regions, actual found
|
|
or missing request-id1, primary/shadow-map failure, exact descriptor bytes,
|
|
CPU copy content, cleanup order and ignored diagnostic lookup57. Physical query,
|
|
map/group and CPU allocation/copy leaves are explicit model services.
|
|
An unavailable-unmap case retains all resources, retries real teardown and
|
|
proves quarantine remains after cleanup.
|
|
|
|
SingleDeviceIo binds that core transaction to actual VramOwner Descriptor and
|
|
CpuMapping tokens. It borrows the already-held same-GPU operation guard and
|
|
uses real read_with_operation/copy_with_operation PRAMIN access; no recursive
|
|
mutex acquisition occurs. The unsafe single-device constructor requires actual
|
|
memory-controller initialization, prior-writer/console quiescence, unique heap,
|
|
and no SLI/remote/P2P writers. BOOT/probe success does not establish those facts.
|
|
RequestProvider is mandatory actual constructed WPR engine/suballocation state;
|
|
no empty/default production provider exists. Kernel VramOwner's admission is
|
|
still unsafe and has not been granted for physical GPU execution.
|
|
|
|
The production native adapter host test uses actual Rust GpuLease/operation
|
|
mutex, actual Linux registry C implementation and actual framebuffer/PRAMIN
|
|
adapter with an independent C device-memory model. It checks missing/CE/CPU
|
|
policy, invalid-context-close retention/retry, actual512-byte primary->shadow
|
|
contents/physical descriptor fields, mapping/pin cleanup and removal lifetime.
|
|
The deliberately missing WPR request registry then rejects completion AFTER
|
|
actual modeled framebuffer copies, proving no synthetic final receipt/readiness.
|
|
No physical GPU was accessed; the memory-initialization prerequisite is explicitly
|
|
attested only for the controlled model. This is not physical admission proof.
|
|
|
|
Integration caught and corrected a real usage guard error: the framebuffer
|
|
provider initially accepted DECIMAL16..18. Actual016953 WPR usages are HEX
|
|
0x16..0x18 (22..24); its guard and original-region fixture are corrected by the
|
|
MMU owner. HSimage0x82 and prior geometry/PRAMIN evidence are unaffected.
|
|
New source/codegen audit roots:
|
|
NV_RS_AUDIT_NATIVE_WPR_POLICY_READ, NV_RS_AUDIT_NATIVE_WPR_POLICY_CLOSE,
|
|
NV_RS_AUDIT_NATIVE_WPR_GATHER. Dedicated audit object compilation passes.
|
|
|
|
Validation commands/results
|
|
tools/test_gpu_falcon_boot_parent.py:2 tests,64 original parent vectors.
|
|
tools/test_gpu_wpr_shadow.py:2 tests,12 original CPU-shadow parent vectors.
|
|
tools/test_wpr_shadow_owner.sh:production actual-C/PRAMIN integration test passes.
|
|
tools/test_pf_software.sh:6 tests, actual C registry and PF lifetime checks pass.
|
|
cargo clippy -p nv-rs-core --all-targets -- -D warnings passes.
|
|
Dedicated native-owner Clippy passes with only the inherited fault_owner_ffi
|
|
retained168-byte Result helper's result_large_err lint excluded; this is not
|
|
a production-WPR warning. Full no-exclusion attempt reports only that existing
|
|
fixture helper. No new WPR lint is suppressed in production source.
|
|
Fresh closed/reset REA5functions:reports/gpu-wpr-policy-rea/index.json.
|
|
Original parent evidence:gpu-falcon-boot-parent-oracle.json and
|
|
gpu-wpr-cpu-shadow-oracle.json. Source-independent model details are retained.
|
|
|
|
Actual remaining contiguous bootstrap work
|
|
- Real initialized clock/reset, class90f1 Falcon VM/instance/PDB, DMEM/start/wait
|
|
providers; the parent translation alone supplies no physical implementation.
|
|
- Actual selected FECS/GPCCS/PMU/SEC2 image/signature assembly, request-list
|
|
producer, suballocation placement and authenticated WPR bootstrap.
|
|
- Real memory-controller initialization and all ownership/reservation admission
|
|
facts before using VramOwner on hardware. Existing VPR needs signed scrub.
|
|
- No completed StateInit/Load, authenticated WPR/GR context, native cubin/CUDA
|
|
hello, full CUDA ABI or full hardware-matrix parity is claimed.
|