mirror of
https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK.git
synced 2026-12-03 20:13:30 +07:00
[PR #6] [MERGED] Fix diagnostic probing after failed PCI configuration reads #113
Labels
No labels
bug
documentation
enhancement
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
windows-GPU-UNLOCK/Windows-GPU-UNLOCK#113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/pull/6
Author: @embersas
Created: 10/24/2026
Status: ✅ Merged
Merged: 10/25/2026
Merged by: @impacifist
Base:
main← Head:codex/diagnostic-probe-hardening📝 Commits (1)
4b5c2d0Fix: stop dependent probe captures after a failed config read📊 Changes
4 files changed (+277 additions, -6 deletions)
View changed files
📝
internal-boot/boot/diagnostic.c(+9 -2)📝
internal-boot/boot/probe.c(+15 -4)📝
internal-boot/boot/test-diagnostic.ps1(+8 -0)➕
internal-boot/boot/test_probe.c(+245 -0)📄 Description
A failed 64-dword PCI configuration read in
GuProbeGpucurrently leavescfg[4]eligible to gate BAR0 register/PROM probing, even though the buffer contents are untrusted. With an error-returning read that leaves nonzero data behind, the diagnostic still performs 16 register reads and a full 1 MiB PROM capture and can reportcapture-complete=1.This records the failure, skips dependent capture for that device, and returns the first configuration-read error. The graph capture logs probe status and preserves incomplete results. Host tests exercise the real probe and graph capture for both reviewed hardware profiles, with successful-read controls and configuration/read/allocation/log-write failures. The existing Windows diagnostic test runner includes the new tests.
Validation against
e3f03cdand proposed head4b5c2d0:HardwareProfile; it is unchanged here.verify_pe.pychecks. Partition identifiers were synthetic build fixtures; no image was installed or executed.git diff --checkpasses.Host simulation and build validation only. The Windows-native PowerShell diagnostic test runner itself was not executed; the equivalent C tests ran in WSL. No hardware compatibility, boot recovery, stability or performance claim is made. This addresses the diagnostic probe introduced in #5 without changing hardware profiles or unlock guards.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.