Skip to content

[Rebase & FF] Making StandaloneMmIplPei compatible with supervisor#1583

Open
kuqin12 wants to merge 2 commits intomicrosoft:release/202511from
kuqin12:dxe_mm_merge
Open

[Rebase & FF] Making StandaloneMmIplPei compatible with supervisor#1583
kuqin12 wants to merge 2 commits intomicrosoft:release/202511from
kuqin12:dxe_mm_merge

Conversation

@kuqin12
Copy link
Contributor

@kuqin12 kuqin12 commented Dec 1, 2025

Description

Current implementation of the StandaloneMmIplPei has a few design differences compared to MM supervisor.

This will introduce more maintenance burden as we move to the next phase of MM supervisor.

This change is made to try to converge the 2 designs, at least from the perspective of IPL, in order to use the IPL as is and still conform to the MM supervisor modelity.

For details on how to complete these options and their meaning refer to CONTRIBUTING.md.

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

How This Was Tested

This is tested on QEMU Q35 and booted to UEFI shell.

Integration Instructions

N/A

@kuqin12 kuqin12 force-pushed the dxe_mm_merge branch 2 times, most recently from 0377f35 to 14b1357 Compare December 9, 2025 01:20
@kuqin12 kuqin12 changed the title [test] Dxe mm merge [Rebase & FF] Making StandaloneMmIplPei usable Dec 9, 2025
@kuqin12 kuqin12 changed the title [Rebase & FF] Making StandaloneMmIplPei usable [Rebase & FF] Making StandaloneMmIplPei compatible with supervisor Dec 9, 2025
@kuqin12 kuqin12 marked this pull request as ready for review December 9, 2025 01:31
@mu-automation
Copy link
Contributor

mu-automation bot commented Feb 8, 2026

This PR has been automatically marked as stale because it has not had activity in 60 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions.

@mu-automation mu-automation bot added the state:stale Has not been updated in a long time label Feb 8, 2026
@mu-automation
Copy link
Contributor

mu-automation bot commented Feb 16, 2026

This pull request has been automatically been closed because it did not have any activity in 60 days and no follow up within 7 days after being marked stale. Thank you for your contributions.

@mu-automation mu-automation bot closed this Feb 16, 2026
@kuqin12
Copy link
Contributor Author

kuqin12 commented Feb 17, 2026

not stale...

@kuqin12 kuqin12 reopened this Feb 17, 2026
@mu-automation mu-automation bot removed the state:stale Has not been updated in a long time label Feb 17, 2026
DEBUG ((DEBUG_WARN, "%a Failed with not ready, may need further intention\n", __func__));
} else {
ASSERT_EFI_ERROR (Status);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change of plan on this one. The current supervisor will not be made to work with this IPL. Instead, we will make the next gen support this naturally.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other change for hob creation needs to get through.

@kuqin12 kuqin12 changed the base branch from release/202502 to release/202511 March 3, 2026 23:14
kuqin12 added 2 commits March 3, 2026 15:25
The current module checks the value of gEfiAcpiVariableGuid hobs and
could assert if there is no such hob available.

However, these hobs are only available if a platform elects to support
S3. Thus this change moves the hob copy logic behind a PCD check to
prevent unnecessary asserts.

Signed-off-by: Kun Qin <kuqin12@gmail.com>
As the Hob data is a loosely contracted way of sharing data, using hobs
to share communication buffer needs extra steps to ensure the intended
buffer end up being used.

This change will check to see if a pre-existing buffer is already created
and skip the current coutine if available.

Signed-off-by: Kun Qin <kun.qin@microsoft.com>
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.

2 participants