[FF-A][TPM] Updates for ArmFfaLib to not use global variable pre-memory#1618
Open
Raymond-MS wants to merge 2 commits intomicrosoft:release/202502from
Open
[FF-A][TPM] Updates for ArmFfaLib to not use global variable pre-memory#1618Raymond-MS wants to merge 2 commits intomicrosoft:release/202502from
Raymond-MS wants to merge 2 commits intomicrosoft:release/202502from
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release/202502 #1618 +/- ##
=================================================
Coverage ? 1.55%
=================================================
Files ? 637
Lines ? 234542
Branches ? 370
=================================================
Hits ? 3649
Misses ? 230880
Partials ? 13
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:
|
0a4027b to
0128ad9
Compare
cfernald
reviewed
Jan 23, 2026
kuqin12
reviewed
Jan 26, 2026
kuqin12
reviewed
Jan 26, 2026
cfernald
approved these changes
Jan 28, 2026
e101718 to
61c2662
Compare
… in each phase's ArmFfaLib implementation. SEC and PEI will query when necessary to avoid setting globals when memory is unavailable.
…buffer HOB on a call to Unmap.
61c2662 to
f81dc04
Compare
kuqin12
approved these changes
Jan 30, 2026
Contributor
Author
|
These changes are being upstreamed to EDK2. Once they get merged, I will close this and open another commit pulling down the changes. |
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
Updated the ARM FF-A libraries to remove global variables for the SEC version as well as to work with the necessary changes for the SEC version. SEC will now query all necessary information while other libraries can rely on the globals set in ArmFfaCommonInit.
How This Was Tested
Built QEMU SBSA with TPM enabled, verified TPM communication and boot to UEFI shell.
Integration Instructions
N/A