Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: b1955cddb2fd44ad8073b6d10f5e0e5f4088fcb1
      
https://github.com/tianocore/edk2/commit/b1955cddb2fd44ad8073b6d10f5e0e5f4088fcb1
  Author: Dun Tan <[email protected]>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M MdeModulePkg/Include/Guid/AcpiS3Context.h

  Log Message:
  -----------
  MdeModulePkg: add MpService2Ppi field in SMM_S3_RESUME_STATE

Add MpService2Ppi field in SMM_S3_RESUME_STATE of
AcpiS3Context.h. It will be used to wakeup AP to do the CPU
initialization during smm s3 boot flow in following patches.
With this field, we can avoid sending InitSipiSipi to wakeup
AP.

Signed-off-by: Dun Tan <[email protected]>
Reviewed-by: Ray Ni <[email protected]>
Reviewed-by: Jian J Wang <[email protected]>
Cc: Liming Gao <[email protected]>


  Commit: bc19f50c7076917e6b74f3bf0d7839c0d0cceb9d
      
https://github.com/tianocore/edk2/commit/bc19f50c7076917e6b74f3bf0d7839c0d0cceb9d
  Author: Dun Tan <[email protected]>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c
    M UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf

  Log Message:
  -----------
  UefiCpuPkg/S3Resume2Pei: prepare MpService2Ppi in S3Resume

Prepare MpService2Ppi in S3Resume when PEI and SMM env run
in the same execution mode. Then smm s3 code can use Mp
Service to wakeup AP instead of only sending InitSipiSipi.

Signed-off-by: Dun Tan <[email protected]>
Cc: Eric Dong <[email protected]>
Reviewed-by: Ray Ni <[email protected]>
Cc: Rahul Kumar <[email protected]>


  Commit: 48de494bb4befce3b1c466c4ec132540d504047f
      
https://github.com/tianocore/edk2/commit/48de494bb4befce3b1c466c4ec132540d504047f
  Author: Dun Tan <[email protected]>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c

  Log Message:
  -----------
  UefiCpuPkg/S3Resume2Pei: assert for invalid excution mode combo

Add assert for invalid excution mode combination of 64bit PEI +
32bit DXE.

Signed-off-by: Dun Tan <[email protected]>
Cc: Eric Dong <[email protected]>
Reviewed-by: Ray Ni <[email protected]>
Cc: Rahul Kumar <[email protected]>


  Commit: cf82c09bac94aec00c0dd76d0a5c6c3f5fe41552
      
https://github.com/tianocore/edk2/commit/cf82c09bac94aec00c0dd76d0a5c6c3f5fe41552
  Author: Dun Tan <[email protected]>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c

  Log Message:
  -----------
  UefiCpuPkg/PiSmmCpuDxe: code refinement for CpuS3.c

This commit is code logic refinement for s3 boot flow
in CpuS3.c. It doesn't change any code functionality.
This commit implementes InitializeAp and InitializeBsp
as a single function since they are doing almost the
same thing. Then both BSP and AP will execute the same
function InitializeCpuProcedure to do CPU initialization.
This can make the code logic easier to understand.

Signed-off-by: Dun Tan <[email protected]>
Cc: Eric Dong <[email protected]>
Reviewed-by: Ray Ni <[email protected]>
Cc: Rahul Kumar <[email protected]>


  Commit: 2ce5ae43c2166984d20341993c4b9dbb337aad79
      
https://github.com/tianocore/edk2/commit/2ce5ae43c2166984d20341993c4b9dbb337aad79
  Author: Dun Tan <[email protected]>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c

  Log Message:
  -----------
  UefiCpuPkg/PiSmmCpuDxe: use MpService2Ppi to wakeup AP in s3

Use MpService2Ppi to wakeup AP in s3 boot flow during initializing
CPU. If mSmmS3ResumeState->MpService2Ppi is not 0, then BSP will
use MpService2Ppi->StartupAllCPUs to do CPU initialization for both
BSP and AP instead of only sending InitSipiSipi for AP.

Signed-off-by: Dun Tan <[email protected]>
Cc: Eric Dong <[email protected]>
Reviewed-by: Ray Ni <[email protected]>
Cc: Rahul Kumar <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/634192665ea2...2ce5ae43c216


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

Reply via email to