[2511] MdeModulePkg/Variable: Remove Mu RT cache buffer allocation changes [Rebase & FF]#1781
Open
makubacki wants to merge 4 commits intomicrosoft:release/202511from
Open
[2511] MdeModulePkg/Variable: Remove Mu RT cache buffer allocation changes [Rebase & FF]#1781makubacki wants to merge 4 commits intomicrosoft:release/202511from
makubacki wants to merge 4 commits intomicrosoft:release/202511from
Conversation
…UPPORTED leak (microsoft#1668)" This reverts commit 9994a20 to --- Commit 1 of 4 for "Remove MU RT cache buffer allocation changes" "Remove MU RT cache buffer allocation changes" series objective: Project Mu had changes to move UEFI variable runtime cache allocation to DXE instead of PEI. The Project Mu MM model allows the runtime buffer allocations to be unblocked for MM access in DXE and allocating in DXE did not cause RT buffer fragmentation in the memory map to better accommodate hibernate resume. With PEI memory buckets added to Project Mu beginning with the 2511 branch, the upstream flow to allocate the RT cache buffer in PEI can be restored Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
…microsoft#1588)" This reverts commit 9dd4ee3. --- Commit 2 of 4 for "Remove MU RT cache buffer allocation changes" "Remove MU RT cache buffer allocation changes" series objective: Project Mu had changes to move UEFI variable runtime cache allocation to DXE instead of PEI. The Project Mu MM model allows the runtime buffer allocations to be unblocked for MM access in DXE and allocating in DXE did not cause RT buffer fragmentation in the memory map to better accommodate hibernate resume. With PEI memory buckets added to Project Mu beginning with the 2511 branch, the upstream flow to allocate the RT cache buffer in PEI can be restored Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
…lloc failure" This reverts commit c8e592b. --- Commit 3 of 4 for "Remove MU RT cache buffer allocation changes" "Remove MU RT cache buffer allocation changes" series objective: Project Mu had changes to move UEFI variable runtime cache allocation to DXE instead of PEI. The Project Mu MM model allows the runtime buffer allocations to be unblocked for MM access in DXE and allocating in DXE did not cause RT buffer fragmentation in the memory map to better accommodate hibernate resume. With PEI memory buckets added to Project Mu beginning with the 2511 branch, the upstream flow to allocate the RT cache buffer in PEI can be restored Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
This reverts commit db8ffad. --- Commit 4 of 4 for "Remove MU RT cache buffer allocation changes" "Remove MU RT cache buffer allocation changes" series objective: Project Mu had changes to move UEFI variable runtime cache allocation to DXE instead of PEI. The Project Mu MM model allows the runtime buffer allocations to be unblocked for MM access in DXE and allocating in DXE did not cause RT buffer fragmentation in the memory map to better accommodate hibernate resume. With PEI memory buckets added to Project Mu beginning with the 2511 branch, the upstream flow to allocate the RT cache buffer in PEI can be restored Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release/202511 #1781 +/- ##
=================================================
Coverage ? 1.84%
=================================================
Files ? 1151
Lines ? 376517
Branches ? 3196
=================================================
Hits ? 6936
Misses ? 369525
Partials ? 56
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
❌ QEMU Validation FailedSource Dependencies
Results
Workflow run: https://github.com/microsoft/mu_basecore/actions/runs/25127738255 This comment was automatically generated by the Mu QEMU PR Validation workflow. |
apop5
approved these changes
Apr 29, 2026
Member
Author
|
Note: The Q35 build is expected to fail since this is a breaking change due to |
os-d
approved these changes
Apr 30, 2026
kuqin12
approved these changes
May 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Project Mu had changes to move UEFI variable runtime cache allocation to DXE instead of PEI. The Project Mu MM model allows the runtime buffer allocations to be unblocked for MM access in DXE and allocating in DXE did not cause RT buffer fragmentation in the memory map to better accommodate hibernate resume.
With PEI memory buckets being added in #1759 to Project Mu beginning with the 2511 branch, the upstream flow to allocate the RT cache buffer in PEI can be restored
This PR reverts commits that added DXE runtime cache buffer allocation support individually, so it is clear exactly what is reverted and these changes can be skipped on future Mu release branches.
How This Was Tested
Integration Instructions
gEfiMdeModulePkgTokenSpaceGuid.PcdMigrateVariableRuntimeCacheBufferAllocationis removed from MdeModulePkg.dec so delete any references in that in platform code.