Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decouple package dependencies of StandaloneMmPkg #10671

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kuqin12
Copy link
Contributor

@kuqin12 kuqin12 commented Jan 24, 2025

Description

This change moves the StandaloneMmPeCoffExtraActionLib from StandaloneMmPkg to ArmPkg because this library is specific to ARM platforms and the only consumer is in the ArmPkg.

In addition, a null instance of the library was created to satisfy CI and pipeline builds for various architectures without coupled package dependencies

  • Breaking change?
    • Breaking change - Does this PR cause a break in build or boot behavior?
    • Examples: Does it add a new library class or move a module to a different repo.
  • Impacts security?
    • Security - Does this PR have a direct security impact?
    • Examples: Crypto algorithm change or buffer overflow fix.
  • Includes tests?
    • Tests - Does this PR include any explicit test code?
    • Examples: Unit tests or integration tests.

How This Was Tested

This change does not impact any functionality.

Integration Instructions

Platforms need to update their StandaloneMmPeCoffExtraActionLib instance to point to ArmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf

@github-actions github-actions bot added the impact:breaking-change This change breaks existing APIs impacting build or boot. label Jan 24, 2025
ArmPkg/ArmPkg.dsc Outdated Show resolved Hide resolved
kuqin12 and others added 2 commits January 24, 2025 13:12
This library is specific for AArch64 platforms and the only consumer is
the StandaloneMmCoreEntryPointLib for AArch64 library in ArmPkg, make it
more reasonable to dwell in the ArmPkg.

This change moves the library from StandaloneMmPkg to ArmPkg and updated
the package dependency for cleaner package relationship.

Cc: Leif Lindholm <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Sami Mujawar <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Jiaxin Wu <[email protected]>
Cc: Dun Tan <[email protected]>
Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Kun Qin <[email protected]>
This change adds a null instance of StandaloneMmCoreEntryPoint to satisfy
CI and pipeline builds for various architectures without coupled
package dependencies.

Cc: Ard Biesheuvel <[email protected]>
Cc: Sami Mujawar <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Jiaxin Wu <[email protected]>
Cc: Dun Tan <[email protected]>
Signed-off-by: Kun Qin <[email protected]>
Co-authored-by: Bret Barkelew <[email protected]>
Copy link
Member

@leiflindholm leiflindholm left a comment

Choose a reason for hiding this comment

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

We're seeing a highly unfortunate flurry of cleaning up StandaloneMmPkg by chucking bits over to ArmPkg. As per #10289, ArmPkg should be shrinking, not growing.

What is the problem that is being solved by this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact:breaking-change This change breaks existing APIs impacting build or boot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants