mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
ArmPkg: MmCommunication: FFA run should use the returned ID
As the FFA function now returns the target ID properly, instead of hardcoding the FFA_RUN target ID being the STMM, we use the parsed ID to issue the FFA_RUN. Signed-off-by: Kun Qin <kun.qin@microsoft.com>
This commit is contained in:
parent
89c6073683
commit
ed21313ac7
2 changed files with 2 additions and 2 deletions
|
|
@ -97,7 +97,7 @@ SendFfaMmCommunicate (
|
|||
|
||||
while (Status == EFI_INTERRUPT_PENDING) {
|
||||
// We are assuming vCPU0 of the StMM SP since it is UP.
|
||||
Status = ArmFfaLibRun (mStMmPartId, 0x00, NULL);
|
||||
Status = ArmFfaLibRun (GET_SOURCE_PARTITION_ID (CommunicateArgs.Header.x1), 0x00, &CommunicateArgs);
|
||||
}
|
||||
|
||||
return Status;
|
||||
|
|
|
|||
|
|
@ -217,7 +217,7 @@ SendFfaMmCommunicate (
|
|||
|
||||
while (Status == EFI_INTERRUPT_PENDING) {
|
||||
// We are assuming vCPU0 of the StMM SP since it is UP.
|
||||
Status = ArmFfaLibRun (mStMmPartId, 0x00, NULL);
|
||||
Status = ArmFfaLibRun (GET_SOURCE_PARTITION_ID (CommunicateArgs.Header.x1), 0x00, &CommunicateArgs);
|
||||
}
|
||||
|
||||
return Status;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue