[PR #53] [CLOSED] MSI X570 / RTX 3080 Ti: host-only profile and attribute policy (on #49) #128

Closed
opened 2026-10-31 07:02:01 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/pull/53
Author: @embersas
Created: 10/26/2026
Status: ❌ Closed

Base: main ← Head: codex/msi-3080ti-pr49


📝 Commits (3)

  • f08d07d Probe: capture a card on a non-01 PCI bus; record the PciIo attribute cache
  • 15e71a6 Local profiles: per-machine PCI bus, optional iGPU, optional EDID driver
  • d2e5e8f Model MSI X570 RTX 3080 Ti attributes on PR49

📊 Changes

37 files changed (+1571 additions, -90 deletions)

View changed files

📝 CHANGES.md (+39 -0)
📝 README.md (+2 -2)
📝 benchmark/run-benchmark.ps1 (+6 -3)
📝 docs/NEW-MACHINE.en.md (+24 -7)
➕ evidence/b550m-3090-usb/README.md (+68 -0)
➕ evidence/b550m-3090-usb/report-excerpt.txt (+114 -0)
➕ evidence/b550m-3090-usb/summary.json (+47 -0)
📝 internal-boot/boot/full-release.c (+100 -9)
📝 internal-boot/boot/make-console-fixture.py (+22 -3)
📝 internal-boot/boot/prepare-console.c (+13 -2)
📝 internal-boot/boot/probe.c (+17 -1)
📝 internal-boot/boot/test-diagnostic.ps1 (+11 -0)
📝 internal-boot/boot/test_cold_precheck.c (+3 -3)
📝 internal-boot/boot/test_console.c (+47 -6)
📝 internal-boot/boot/test_full.c (+54 -2)
📝 internal-boot/boot/test_headless_full.c (+53 -0)
➕ internal-boot/boot/test_msi_profile.c (+348 -0)
📝 internal-boot/boot/test_probe_generic.c (+17 -1)
📝 internal-boot/boot/test_r2.c (+5 -0)
📝 internal-boot/unlock/checks.c (+1 -1)

...and 17 more files

📄 Description

The MSI X570 / ASUS RTX 3080 Ti capture has raw PCI command 0x0002 but firmware attributes 0x300. PR #49 supplies the shared bus and no-EDID-driver paths, but its strict attribute comparison still rejects this pair. This follow-up adds a fixed, host-only profile and a proposed attribute contract for review.

Stacked dependency: this branch starts at #49 head 15e71a6cc6e7a014c5a975d79a16df37ad158a37, including its #48 dependency, against main 5c98f11. The PR diff against main includes those pending dependencies. Our incremental change is one commit, d2e5e8f, covering nine text files.

Changes

  • Add the fixed 10de:2208 / 1043:8803, 12 GiB profile with the recorded PROM, NVIDIA GOP 0x6000a and AMI console fingerprints. Reuse #49's GU_TARGET_BUS and GU_NO_EDID_DRIVER handling, with narrower single-child and exact-owner constraints.
  • Require the observed raw IO/MEM/BME 0/1/0 and cache 0x300 at capture. The cache must remain unchanged immediately before NVIDIA Stop.
  • After Stop, propose only these pairs:
Raw IO/MEM/BME Cached attributes
0/0/0 0x000 or 0x100
0/1/0 0x200 or 0x300

These are proposed outcomes, not observed MSI Stop results. Cached memory must match raw memory; no other attribute bits are allowed. All 64 PCI words remain checked. Pin the post-Stop observation across the restore-intent callback, enable only missing MEM under exclusive ownership, and verify the exact restored configuration and separately latched cache. Preserve the immutable capture baseline.

The MSI path also allocates the PROM buffer before its final raw configuration/safety recheck, preserves a read error if freeing the buffer also fails, and records separate attribute-read and pair-policy checkpoints with the observed values.

Validation

Capture-free tests use the real prepare, release and flow functions, generated ownership/data and real SHA-256. Synthetic buffers are never executed. Payload and Windows callbacks are counters; the real unlock is not linked.

  • 23,366 MSI assertions with Clang 18.1.3 ASan/UBSan, including exact failure checkpoints, statuses and observations.
  • 197 cold-precheck cases for MSI and for each of the five published profiles; 39 existing flow checks.
  • Four virtual source faults each fail the intended regression assertion.
  • Ten compile rejections cover firmware, missing replay permission, wrong topology and conflicting profile selectors.
  • Ten objects (full-release.c and checks.c, five profiles) match exact PR #49 Git-source builds, excluding only COFF's four-byte timestamp.

Reproduce on Linux/WSL with Python 3.9+, Clang and nm, using a new output directory:

python3 research/msi-profile/test.py --output /tmp/new-msi-results --fault-controls

Limits and review request

This new profile is hardware-untested and cannot compile as firmware. It requires hosted replay flags; builders expose no MSI selection. The generated-profile envelope (proven.json), installers and existing write-profile policies are unchanged by our incremental commit. No captures, binaries or firmware assets are included.

The mock Stop effects are model assumptions. The inherited RestoreTPL callback window remains documented and tested: input drift can precede disconnect, then block decode enable and payload. The PROM probe demonstrates a software boundary, not that MSI firmware performs that interleaving. These tests establish no vendor Stop behaviour, unlock, Windows recovery, stability or performance.

Please review the fixed profile and the proposed raw/cache contract before any separate firmware-enablement work. This follows the profile/model discussion in #7 and is separate from the staged pilot in #23. No new hardware test or deployment was performed.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/pull/53 **Author:** [@embersas](https://github.com/embersas) **Created:** 10/26/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `codex/msi-3080ti-pr49` --- ### 📝 Commits (3) - [`f08d07d`](https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/commit/f08d07de4341f2f4681fc032ece0ccd28ff390fb) Probe: capture a card on a non-01 PCI bus; record the PciIo attribute cache - [`15e71a6`](https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/commit/15e71a6cc6e7a014c5a975d79a16df37ad158a37) Local profiles: per-machine PCI bus, optional iGPU, optional EDID driver - [`d2e5e8f`](https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/commit/d2e5e8fd228bc2e9e966856a21ba588c94de3e9b) Model MSI X570 RTX 3080 Ti attributes on PR49 ### 📊 Changes **37 files changed** (+1571 additions, -90 deletions) <details> <summary>View changed files</summary> 📝 `CHANGES.md` (+39 -0) 📝 `README.md` (+2 -2) 📝 `benchmark/run-benchmark.ps1` (+6 -3) 📝 `docs/NEW-MACHINE.en.md` (+24 -7) ➕ `evidence/b550m-3090-usb/README.md` (+68 -0) ➕ `evidence/b550m-3090-usb/report-excerpt.txt` (+114 -0) ➕ `evidence/b550m-3090-usb/summary.json` (+47 -0) 📝 `internal-boot/boot/full-release.c` (+100 -9) 📝 `internal-boot/boot/make-console-fixture.py` (+22 -3) 📝 `internal-boot/boot/prepare-console.c` (+13 -2) 📝 `internal-boot/boot/probe.c` (+17 -1) 📝 `internal-boot/boot/test-diagnostic.ps1` (+11 -0) 📝 `internal-boot/boot/test_cold_precheck.c` (+3 -3) 📝 `internal-boot/boot/test_console.c` (+47 -6) 📝 `internal-boot/boot/test_full.c` (+54 -2) 📝 `internal-boot/boot/test_headless_full.c` (+53 -0) ➕ `internal-boot/boot/test_msi_profile.c` (+348 -0) 📝 `internal-boot/boot/test_probe_generic.c` (+17 -1) 📝 `internal-boot/boot/test_r2.c` (+5 -0) 📝 `internal-boot/unlock/checks.c` (+1 -1) _...and 17 more files_ </details> ### 📄 Description The MSI X570 / ASUS RTX 3080 Ti capture has raw PCI command `0x0002` but firmware attributes `0x300`. PR #49 supplies the shared bus and no-EDID-driver paths, but its strict attribute comparison still rejects this pair. This follow-up adds a fixed, host-only profile and a proposed attribute contract for review. **Stacked dependency:** this branch starts at #49 head `15e71a6cc6e7a014c5a975d79a16df37ad158a37`, including its #48 dependency, against main `5c98f11`. The PR diff against main includes those pending dependencies. **Our incremental change is one commit, [d2e5e8f](https://github.com/embersas/Windows-GPU-UNLOCK/compare/15e71a6cc6e7a014c5a975d79a16df37ad158a37...d2e5e8fd228bc2e9e966856a21ba588c94de3e9b), covering nine text files.** ### Changes - Add the fixed `10de:2208 / 1043:8803`, 12 GiB profile with the recorded PROM, NVIDIA GOP `0x6000a` and AMI console fingerprints. Reuse #49's `GU_TARGET_BUS` and `GU_NO_EDID_DRIVER` handling, with narrower single-child and exact-owner constraints. - Require the observed raw IO/MEM/BME `0/1/0` and cache `0x300` at capture. The cache must remain unchanged immediately before NVIDIA Stop. - After Stop, propose only these pairs: | Raw IO/MEM/BME | Cached attributes | |---|---| | 0/0/0 | 0x000 or 0x100 | | 0/1/0 | 0x200 or 0x300 | These are **proposed outcomes, not observed MSI Stop results**. Cached memory must match raw memory; no other attribute bits are allowed. All 64 PCI words remain checked. Pin the post-Stop observation across the restore-intent callback, enable only missing MEM under exclusive ownership, and verify the exact restored configuration and separately latched cache. Preserve the immutable capture baseline. The MSI path also allocates the PROM buffer before its final raw configuration/safety recheck, preserves a read error if freeing the buffer also fails, and records separate attribute-read and pair-policy checkpoints with the observed values. ### Validation Capture-free tests use the real prepare, release and flow functions, generated ownership/data and real SHA-256. Synthetic buffers are never executed. Payload and Windows callbacks are counters; the real unlock is not linked. - 23,366 MSI assertions with Clang 18.1.3 ASan/UBSan, including exact failure checkpoints, statuses and observations. - 197 cold-precheck cases for MSI and for each of the five published profiles; 39 existing flow checks. - Four virtual source faults each fail the intended regression assertion. - Ten compile rejections cover firmware, missing replay permission, wrong topology and conflicting profile selectors. - Ten objects (`full-release.c` and `checks.c`, five profiles) match exact PR #49 Git-source builds, excluding only COFF's four-byte timestamp. Reproduce on Linux/WSL with Python 3.9+, Clang and nm, using a new output directory: ```sh python3 research/msi-profile/test.py --output /tmp/new-msi-results --fault-controls ``` ### Limits and review request **This new profile is hardware-untested and cannot compile as firmware.** It requires hosted replay flags; builders expose no MSI selection. The generated-profile envelope (`proven.json`), installers and existing write-profile policies are unchanged by our incremental commit. No captures, binaries or firmware assets are included. The mock Stop effects are model assumptions. The inherited RestoreTPL callback window remains documented and tested: input drift can precede disconnect, then block decode enable and payload. The PROM probe demonstrates a software boundary, not that MSI firmware performs that interleaving. These tests establish no vendor Stop behaviour, unlock, Windows recovery, stability or performance. Please review the fixed profile and the proposed raw/cache contract before any separate firmware-enablement work. This follows the profile/model discussion in #7 and is separate from the staged pilot in #23. No new hardware test or deployment was performed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 07:02:01 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
windows-GPU-UNLOCK/Windows-GPU-UNLOCK#128
No description provided.