Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 93ee30067582f325c951505c835f5c5b85649148
      
https://github.com/tianocore/edk2/commit/93ee30067582f325c951505c835f5c5b85649148
  Author: Kun Qin <[email protected]>
  Date:   2026-07-30 (Thu, 30 Jul 2026)

  Changed paths:
    M ArmPkg/Include/Library/ArmStandaloneMmCoreEntryPoint.h
    M 
ArmPkg/Library/ArmStandaloneMmCoreEntryPoint/ArmStandaloneMmCoreEntryPoint.c

  Log Message:
  -----------
  ArmPkg: StandaloneMmCoreEntryPoint: Use ARM_FFA_ARGS for misc buffer

The MISC_MM_COMMUNICATE_BUFFER stored the FF-A direct message
registers in a DIRECT_MSG_ARGS structure. Populating and reading it
required manually re-indexing every register (EventSvcArgs->Arg4..Arg17
into DirectMsgArgs.Arg0..Arg13). This shifted the register positions and
left the buffer layout inconsistent with the raw FF-A argument register
file, making it error prone to correlate a slot with its architectural
register.

Signed-off-by: Kun Qin <[email protected]>


  Commit: bdd36cdc1a1fb411bc8edc5f8ec81115be99ab48
      
https://github.com/tianocore/edk2/commit/bdd36cdc1a1fb411bc8edc5f8ec81115be99ab48
  Author: Kun Qin <[email protected]>
  Date:   2026-07-30 (Thu, 30 Jul 2026)

  Changed paths:
    M SecurityPkg/Tcg/Tcg2StandaloneMmArm/Tcg2StandaloneMmArm.c

  Log Message:
  -----------
  SecurityPkg: Tcg2StandaloneMmArm: Align PP buffer with ARM_FFA_ARGS

The misc MM communicate buffer now stores the FF-A direct message
registers in an ARM_FFA_ARGS layout that preserves the native register
indices. The TCG physical presence callback must therefore locate the
TCG_NVS payload at the correct register offset instead of the start of
the communication buffer.

Point LocalTcgNvs at CommBuffer + OFFSET_OF (ARM_FFA_ARGS, Arg4) and
validate the buffer size against sizeof (ARM_FFA_ARGS). Add a
STATIC_ASSERT to guarantee TCG_NVS fits within the register space
available for the direct message payload, and include ArmFfaLib.h for
the ARM_FFA_ARGS definition.

Signed-off-by: Kun Qin <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/b3f19fb5ce9e...bdd36cdc1a1f

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