Skip to content

Only reserve MMCONFIG on x86 platforms#3472

Merged
andrewsun2898 merged 1 commit into
u-root:mainfrom
andrewsun2898:upl2
Dec 4, 2025
Merged

Only reserve MMCONFIG on x86 platforms#3472
andrewsun2898 merged 1 commit into
u-root:mainfrom
andrewsun2898:upl2

Conversation

@andrewsun2898
Copy link
Copy Markdown
Contributor

No description provided.

@andrewsun2898 andrewsun2898 force-pushed the upl2 branch 2 times, most recently from 73ac756 to 00e59ce Compare December 3, 2025 23:08
@10000TB
Copy link
Copy Markdown
Member

10000TB commented Dec 3, 2025

any idea how could we prevent such in u-root CI for future ?

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 3, 2025

Codecov Report

❌ Patch coverage is 88.88889% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 61.84%. Comparing base (20a3bca) to head (7559776).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3472   +/-   ##
=======================================
  Coverage   61.83%   61.84%           
=======================================
  Files         637      637           
  Lines       43113    43121    +8     
=======================================
+ Hits        26661    26668    +7     
- Misses      16452    16453    +1     
Flag Coverage Δ
.-amd64 90.90% <ø> (ø)
cmds/...-amd64 51.17% <ø> (-0.01%) ⬇️
integration/generic-tests/...-amd64 30.93% <0.00%> (-0.01%) ⬇️
integration/generic-tests/...-arm 33.04% <ø> (ø)
integration/generic-tests/...-arm64 30.03% <0.00%> (-0.08%) ⬇️
integration/gotests/...-amd64 62.34% <80.00%> (+<0.01%) ⬆️
integration/gotests/...-arm 62.89% <100.00%> (-0.01%) ⬇️
integration/gotests/...-arm64 62.99% <100.00%> (+<0.01%) ⬆️
pkg/...-amd64 60.31% <80.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
everything 67.01% <88.88%> (+<0.01%) ⬆️
cmds/exp 32.82% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Reserving the MMCONFIG is required on x86 platforms to ensure that PCI
devices work properly in the OS. In ARM, UPL uses device trees to
discover PCI devices, which can cause conflicts if the MMCONFIG regions
are reserved.

Tested: Booted UPL on ARM platform and verified boot. Booted x86
platform and verified regions are reserved.

Signed-off-by: Andrew Sun <andrewsun@google.com>
@andrewsun2898
Copy link
Copy Markdown
Contributor Author

any idea how could we prevent such in u-root CI for future ?

A VM test that runs through UPL and perform sanity checks in the final OS could be a good way to verify UPL related changes.

@andrewsun2898 andrewsun2898 merged commit 7bc9fa7 into u-root:main Dec 4, 2025
38 checks passed
@andrewsun2898 andrewsun2898 deleted the upl2 branch March 11, 2026 20:49
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.

3 participants