Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 26fb5edff3976a42b640d83721b4897935cb6598
      
https://github.com/tianocore/edk2/commit/26fb5edff3976a42b640d83721b4897935cb6598
  Author: Anubhav Raina <anubhav.ra...@arm.com>
  Date:   2025-04-23 (Wed, 23 Apr 2025)

  Changed paths:
    M MdeModulePkg/Library/ArmFfaLib/ArmFfaPeiLib.inf

  Log Message:
  -----------
  MdeModulePkg/ArmFfaLib: Add depex on gEfiPeiMemoryDiscoveredPpiGuid

If ArmFfaLibRxTxMap is called before permanent memory is installed the
memory allocated for the FF-A buffers will be migrated to the permanent
memory after it is installed without updating gArmFfaRxTxBufferInfoGuid
or unmapping the old buffers and mapping the updated buffers.

An ASSERT in MemoryServices at ExitBootServices is triggered when
ArmFfaDxeLib tries to call FreeAlignedPages on the original buffer
reference.

Add depex on gEfiPeiMemoryDiscoveredPpiGuid for ArmFfaPeiLib so any
Peims that use FF-A are only dispatched after permanent memory is
available.

Signed-off-by: Anubhav Raina <anubhav.ra...@arm.com>



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


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to