Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: d8e875e62505e15a48f82ccb49db42be9fda519f
      
https://github.com/tianocore/edk2/commit/d8e875e62505e15a48f82ccb49db42be9fda519f
  Author: Levi Yun <[email protected]>
  Date:   2025-09-08 (Mon, 08 Sep 2025)

  Changed paths:
    M ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.c
    M ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c
    M MdeModulePkg/Library/ArmFfaLib/ArmFfaCommon.c
    M MdePkg/Include/Library/ArmFfaLib.h
    M SecurityPkg/Library/Tpm2DeviceLibFfa/Tpm2ServiceFfaRaw.c
    M SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigFfaPeim.c

  Log Message:
  -----------
  Global: fix ArmFfaLibRun() caller couldn't get ret-args

When ArmFfaLibDirectMsgReq(2) is preempted, caller of these functions
should resume it works via ArmFfaLibRun() and the secure partition
will be return with FFA_DIRECT_MSG_RESP(2) with return arguments.

However, since ArmFfaLibRun() gets its return in its stack variable,
So caller of ArmFfaLibRun() doesn't get the return arguments from
secure partition.

To resolve this, add output parameter to ArmFfaLibRun() to
receive return arguments.

Continuous-integration-options: PatchCheck.ignore-multi-package
Fixes: 5d1b38dd07c4 ("ArmPkg: Add ArmFfaLib used in Dxe driver")
Reported-by: Mariam Elshakfy <[email protected]>
Signed-off-by: Yeoreum Yun <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to