Skip to content

Rust rewrite - #32

Merged
Cyridd merged 13 commits into
mainfrom
port/rust
Nov 28, 2026
Merged

Cyridd merged 13 commits into
mainfrom
port/rust

Conversation

@Cyridd

@Cyridd Cyridd commented Nov 21, 2026

Copy link
Copy Markdown
Owner

No description provided.

Remove the obsolete ISSUE_TEMPLATE directory at the repository root.
Keep the active templates under .github/ISSUE_TEMPLATE.
Port the C BAR1/BAR3 sizing, placement, upstream windows and rollback
sequence into the Rust core and EFI adapter. Cache the image-volume
REBAR.CFG before GPU mutation, run relocation after native FULL/ZERO
completion, and preserve norebar precedence.

Add C parity tests, QEMU policy checks and separate USB packaging.
Record FULL/ZERO acceptance with OS-visible 8 GiB BAR1 and retained
FULL compute on the tested configuration. Physical rollback and
ReBAR parent/Linux handoff remain unvalidated.
Add separate opt-in Prepare, Targets and Retrain FULL images with
masked GPU policy, topology guards, true PCI WORD writes and one
bounded upstream retrain. Keep normal FULL/ZERO Gen2 disabled.

Observe policy and live links after ReBAR and before handoff without
repair writes. Add C reference/model tests, QEMU entry checks and CI.
Include reversible per-device NVIDIA registry trials and packaging
without vulnerable helper drivers.

Record Gen2 x16 in EFI but Gen1 under Windows load with NVIDIA 621.14.
Policy, PolicyPlatform and the manual RMPcieLinkSpeed=1 variant failed
with ReBAR enabled and disabled. Windows Gen2 retention is unresolved.
Stock registry values were restored after the trials.
Compress repeated MMIO read/stall pairs only during trace serialization.
Retain phase traces until the pre-handoff result is known and emit full
compressed diagnostics for --trace, handled errors and ReBAR rollback.
Preserve numbered logs and add a bounded host decoder, QEMU coverage and
a separate logging test package.

Record successful FULL/ReBAR hardware testing with a 3662-byte summary
and a 15422-byte explicit trace. Keep storage rotation and installer
integration pending.
Batch log writes and contiguous FAT reads. Avoid clearing the radix
allocation twice and size Gen2 and ReBAR trace buffers from PCI topology.

Retain up to 32 summaries and four diagnostics within 8 MiB. Preserve
the last verified log during rotation and park on StartImage failure
after GPU mutation.

Add host and QEMU coverage and record the FULL and ZERO hardware results.
Rename the Linux pre-driver module directory to linux/preboot and the
Rust EFI CPU-RM feature and targets to unlock. Update CI, packaging and
documentation, and record the Linux and Windows GSP-enabled results.

Respect the configured GSP policy when loading NVIDIA on Linux and
during Windows installation and removal. Keep Disable GSP opt-in and
remove the firmware-mode check from the Linux Gen2 shell helper.

Use CMPUNLOCKER prefixes in new EFI logs and retain support for reading
and rotating existing CMP40 logs.
@Cyridd
Cyridd merged commit 695d403 into main Nov 28, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant