[PR #69] diagnostic: CaptureGuard derives BAR0 base from config (firmware-relocated BARs) instead of literal 0x80000000 #109

Open
opened 2026-10-31 06:56:28 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JustAResearcher/gpu-unlock-ada/pull/69
Author: @DarkSkar
Created: 10/26/2026
Status: 🔄 Open

Base: main ← Head: pr/probe-bar0-config


📝 Commits (1)

  • ea43cbc diagnostic: CaptureGuard derives BAR0 base from config (firmware-relocated BARs) instead of literal 0x80000000

📊 Changes

1 file changed (+7 additions, -3 deletions)

View changed files

📝 windows/ad104-msi/diagnostic/src/sample.c (+7 -3)

📄 Description

The read-only probe hard-refused on our AD102 box with bar0_relocated_or_invalid: our firmware relocates BAR0 to 0xdd000000. The literal 0x80000000 match rejects any board whose firmware places BAR0 elsewhere, while the resource-descriptor check right below is already the real authority.

Change: accept any nonzero 32-bit memory BAR from config and match the descriptor against that value. Identity pins (device/subsystem/chip) untouched.

Verification:

  • Build.ps1 green: AD104-PROBE.EFI built, host suite 5532 checks PASS + 179 platform checks + tool tests OK.
  • Hardware: with this fix the probe's UEFI PROM readout matched nvflash --save byte-for-byte on our card (2 MiB PROM, AD102).

🔄 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/JustAResearcher/gpu-unlock-ada/pull/69 **Author:** [@DarkSkar](https://github.com/DarkSkar) **Created:** 10/26/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `pr/probe-bar0-config` --- ### 📝 Commits (1) - [`ea43cbc`](https://github.com/JustAResearcher/gpu-unlock-ada/commit/ea43cbc594261c18e4fa3021d9bcb0779c9bc51c) diagnostic: CaptureGuard derives BAR0 base from config (firmware-relocated BARs) instead of literal 0x80000000 ### 📊 Changes **1 file changed** (+7 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `windows/ad104-msi/diagnostic/src/sample.c` (+7 -3) </details> ### 📄 Description The read-only probe hard-refused on our AD102 box with `bar0_relocated_or_invalid`: our firmware relocates BAR0 to `0xdd000000`. The literal `0x80000000` match rejects any board whose firmware places BAR0 elsewhere, while the resource-descriptor check right below is already the real authority. **Change:** accept any nonzero 32-bit memory BAR from config and match the descriptor against that value. Identity pins (device/subsystem/chip) untouched. **Verification:** - `Build.ps1` green: `AD104-PROBE.EFI` built, host suite **5532 checks PASS** + 179 platform checks + tool tests OK. - Hardware: with this fix the probe's UEFI PROM readout matched `nvflash --save` **byte-for-byte** on our card (2 MiB PROM, AD102). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
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
JustAResearcher/gpu-unlock-ada#109
No description provided.