Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 4f80e9c52841589144fd12e6f4d9d46638bce8d1
      
https://github.com/tianocore/edk2/commit/4f80e9c52841589144fd12e6f4d9d46638bce8d1
  Author: Oliver Smith-Denny <[email protected]>
  Date:   2026-05-28 (Thu, 28 May 2026)

  Changed paths:
    M ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.c

  Log Message:
  -----------
  ArmPkg: MmCommunicationDxe: Fix Comm Buffer Init

Currently, MmCommunicationDxe expects the MM comm buffer
to either be not added by the platform or added and allocated
by the platform. However, not all platforms follow this pattern.

This commit makes the handling more generic by checking to see
if a GCD descriptor exists that covers this range. If it does,
the capabilities are updated as needed. If only a partial desc
exists for this range, the driver will fail as that is a platform
misconfiguration.

If the descriptor does not exist, the driver will add the buffer.

Then, for all successful cases, the attributes are updated on the
buffer to what the driver expects them to be.

Signed-off-by: Oliver Smith-Denny <[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