Skip to content

MdeModulePkg/PciBusDxe: revert Preserve Physical BAR numbering - #1995

Merged
Aaron (apop5) merged 2 commits into
microsoft:release/202608from
apop5:personal/apop5/revertpci
Oct 26, 2026
Merged

Aaron (apop5) merged 2 commits into
microsoft:release/202608from
apop5:personal/apop5/revertpci

Conversation

@apop5

Copy link
Copy Markdown
Collaborator

Description

Revert the changes because 2 existing video option roms have been found to be broken by this functionality.

This UEFI specification will need to be updated to include information about compacted bars because today the specification implies that the BarIndex passed into PciIo functions matches the physical BAR numbering in config space.

Reverting change that is being reverted in upstream: tianocore/edk2#13376

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

With change in place, 2 GOP option roms were failing to allow video output.
After reverting, option roms were successful

Integration Instructions

No Integration necessary

@mu-automation

mu-automation Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

✅ QEMU Validation Passed

Source Dependencies

Repository Commit
mu_basecore d1833e2
mu_tiano_platforms 9a5b7f8

Results

Platform Target Build Boot Overall Boot Time Build Logs Boot Logs
Q35 DEBUG ✅ success ✅ success 0m 16s Build Logs Boot Logs
ArmVirt DEBUG ✅ success ✅ success 0m 17s Build Logs Boot Logs

Workflow run: https://github.com/microsoft/mu_basecore/actions/runs/40412038623

This comment was automatically generated by the Mu QEMU PR Validation workflow.

@codecov-commenter

Codecov Comments Bot (codecov-commenter) commented Oct 26, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 14 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (release/202608@fcb67fe). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...ModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c 0.00% 11 Missing ⚠️
MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c 0.00% 3 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                @@
##             release/202608    #1995   +/-   ##
=================================================
  Coverage                  ?    1.00%           
=================================================
  Files                     ?      633           
  Lines                     ?   228291           
  Branches                  ?      648           
=================================================
  Hits                      ?     2290           
  Misses                    ?   225969           
  Partials                  ?       32           
Flag Coverage Δ
MdeModulePkg 1.00% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@apop5
Aaron (apop5) force-pushed the personal/apop5/revertpci branch from a989287 to d1833e2 Compare October 26, 2026 22:17
@apop5
Aaron (apop5) enabled auto-merge (rebase) October 26, 2026 22:28
@apop5
Aaron (apop5) merged commit 003a16c into microsoft:release/202608 Oct 26, 2026
59 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.

4 participants