-
Notifications
You must be signed in to change notification settings - Fork 506
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
ARM/VExpressPkg: Remove Hob creation in StandaloneMm. #209
Open
LeviYeoReum
wants to merge
8
commits into
tianocore:master
Choose a base branch
from
LeviYeoReum:ffa_milestone2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
LeviYeoReum
force-pushed
the
ffa_milestone2
branch
2 times, most recently
from
September 24, 2024 13:25
e08b003
to
832fcc1
Compare
LeviYeoReum
force-pushed
the
ffa_milestone2
branch
from
October 18, 2024 11:54
726739c
to
eb9df20
Compare
apalos
reviewed
Oct 22, 2024
LeviYeoReum
force-pushed
the
ffa_milestone2
branch
from
October 23, 2024 04:34
eaf67b7
to
b6decc4
Compare
LeviYeoReum
force-pushed
the
ffa_milestone2
branch
from
November 11, 2024 13:32
b6decc4
to
e02bcad
Compare
ArmTransferList is used to pass boot information according to firmware handoff protocol specification [0]. When initializing StandaloneMm, it gets boot information formatted with PHIT_HOB in TransferList. To get boot information from transfer list, add ArmTrnaferLib for StandaloneMm. Signed-off-by: Levi.Yun <[email protected]>
apply FF-A feature on UEFI/StandaloneMm. Signed-off-by: Levi Yun <[email protected]>
The ExtractGuidedSectionLib implementation in Embedded package creates HOBs to get Uncompress handler information. Since StandaloneMM is a HOB consumer and not a HOB producer, a StandaloneMM instance of ExtractGuidedSectionLib has been introduced. Therefore, switch to using the StandaloneMM instance of the ExtractGuidedSectionLib. Also, when using Lzma compression for StandaloneMm the size of the image can be reduced. The image size reduction can be seen as below: before: FVMAIN_COMPACT [96%Full] 1048576 (0x100000) total, 1016224 (0xf81a0) used, 32352 (0x7e60) free after: FVMAIN_COMPACT [38%Full] 1048576 (0x100000) total, 402880 (0x625c0) used, 645696 (0x9da40) free Signed-off-by: Levi Yun <[email protected]>
Instead of using Svc directly to request storage operation, use ArmFfaLib. Also, memory endpoint is no more used. so remove it. Signed-off-by: Levi Yun <[email protected]>
commit 8bc44608b8ea ("MdeModulePkg: Add ImagePropertiesRecordLib") makes build failure on StandaloneMm. commit f8d9a0a ("Update to New StackCheckLib") replace BaseStackCheckLib to StackCheckLibNull. To fix build failure, 1. add ImagePropertiesRecordLib and related libraries, 2. replace StackCheckLib to StackCheckLibNull. Signed-off-by: Levi.Yun <[email protected]>
Add related libraries and Pcds to build StandaloneMm with FF-A v1.2. Signed-off-by: Levi Yun <[email protected]>
LeviYeoReum
force-pushed
the
ffa_milestone2
branch
from
December 5, 2024 07:54
e02bcad
to
d313c51
Compare
StandaloneMmCoreEntryPoint Library and StandaloneMmCpu Driver for Arm are moved from StandaloneMmPkg to ArmPkg. apply this change. Signed-off-by: Levi.yun <[email protected]>
LeviYeoReum
force-pushed
the
ffa_milestone2
branch
from
December 5, 2024 11:23
d313c51
to
bc4c9eb
Compare
StandaloneMmCoreEntryPoint Library and StandaloneMmCpu Driver for Arm are moved from StandaloneMmPkg to ArmPkg. apply this change. Signed-off-by: Levi Yun <[email protected]>
LeviYeoReum
force-pushed
the
ffa_milestone2
branch
from
December 5, 2024 13:26
bc4c9eb
to
1b50b57
Compare
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.
This patchset fixes build failure StandaloneMm on VExporessPkg
and apply remove hob creation in StandaloneMm.
When StandaloneMm running with SPM_MM,
It passes Boot Hob list created in TF-A via transfer list according to firmware handoff spec[0].
When StandaloneMm running with FF-A,
It passes Boot Hob list created in TF-A via FF-A boot protocol[1].
For this, add related Libraries in StandaloneMm dsc file.
Links: https://github.com/FirmwareHandoff/firmware_handoff [0]
Links: https://developer.arm.com/documentation/den0077/latest/ [1]