Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 9ab18fec82249d8a3a82ec8d0c20d9f4fca68b64
      
https://github.com/tianocore/edk2/commit/9ab18fec82249d8a3a82ec8d0c20d9f4fca68b64
  Author: Ming Huang <huangm...@linux.alibaba.com>
  Date:   2022-07-07 (Thu, 07 Jul 2022)

  Changed paths:
    M StandaloneMmPkg/Include/Library/Arm/StandaloneMmCoreEntryPoint.h
    M StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/CreateHobList.c
    M 
StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/StandaloneMmCoreEntryPoint.c

  Log Message:
  -----------
  StandaloneMmPkg: Fix issue about SpPcpuSharedBufSize field

TF-A: TrustedFirmware-A
SPM: Secure Partition Manager(MM)

In TF-A, the name of this field is sp_shared_buf_size. This field is
the size of range for transmit data from TF-A to standaloneMM when
SPM enable.

SpPcpuSharedBufSize is pass from TF-A while StandaloneMM initialize.
So, SpPcpuSharedBufSize should be rename to SpSharedBufSize and this field
should no multiply by PayloadBootInfo->NumCpus;

Signed-off-by: Ming Huang <huangm...@linux.alibaba.com>
Reviewed-by: Sami Mujawar <sami.muja...@arm.com>


  Commit: 31d3eeb103eaf0721c4955988bef3f2264b05ca0
      
https://github.com/tianocore/edk2/commit/31d3eeb103eaf0721c4955988bef3f2264b05ca0
  Author: Ming Huang <huangm...@linux.alibaba.com>
  Date:   2022-07-07 (Thu, 07 Jul 2022)

  Changed paths:
    M StandaloneMmPkg/Drivers/StandaloneMmCpu/EventHandle.c
    M StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.c

  Log Message:
  -----------
  StandaloneMmPkg: Replace DEBUG_INFO with DEBUG_ERROR

DEBUG_ERROR should be used in error branch.

Signed-off-by: Ming Huang <huangm...@linux.alibaba.com>
Reviewed-by: Sami Mujawar <sami.muja...@arm.com>


  Commit: 5496c763aaddc4a47639d4652abe23aa3419263a
      
https://github.com/tianocore/edk2/commit/5496c763aaddc4a47639d4652abe23aa3419263a
  Author: Ming Huang <huangm...@linux.alibaba.com>
  Date:   2022-07-07 (Thu, 07 Jul 2022)

  Changed paths:
    M StandaloneMmPkg/Drivers/StandaloneMmCpu/EventHandle.c
    M StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.c
    M StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.h

  Log Message:
  -----------
  StandaloneMmPkg: Fix check buffer address failed issue from TF-A

There are two scene communicate with StandaloneMm(MM):
1 edk2 -> TF-A -> MM, communicate MM use non-secure buffer which
  specify by EFI_SECURE_PARTITION_BOOT_INFO.SpNsCommBufBase;
2 RAS scene: fiq -> TF-A -> MM, use secure buffer which
  specify by EFI_SECURE_PARTITION_BOOT_INFO.SpShareBufBase;

For now, the second scene will failed because check buffer address.
This patch add CheckBufferAddr() to support check address for secure
buffer.

Signed-off-by: Ming Huang <huangm...@linux.alibaba.com>
Reviewed-by: Sami Mujawar <sami.muja...@arm.com>


Compare: https://github.com/tianocore/edk2/compare/f193b945eac5...5496c763aadd


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

Reply via email to