Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 2351165f1b8252269a36d625823743d9f6c243b9
      
https://github.com/tianocore/edk2/commit/2351165f1b8252269a36d625823743d9f6c243b9
  Author: Jiaxin Wu <[email protected]>
  Date:   2024-10-12 (Sat, 12 Oct 2024)

  Changed paths:
    M UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c

  Log Message:
  -----------
  UefiCpuPkg/PiSmmCpuDxeSmm: Clarification for BSP & APs Sync Flow

This patch does not impact functionality. It aims to clarify the
synchronization flow between the BSP and APs to enhance code
readability and understanding:

Steps #6 and #11 are the basic synchronization requirements for all
cases.

Steps #1 is additional requirements if the MmCpuSyncModeTradition
mode is selected.

Steps #1, #2, #3, #4, #5, #7, #8, #9, and #10 are additional
requirements if the system needs to configure the MTRR.

Steps #9 and #10 are additional requirements if the system needs to
support the mSmmDebugAgentSupport.

Signed-off-by: Jiaxin Wu <[email protected]>


  Commit: 7d4da670ea7b3be1f8c3a8d6768f59c2c8d3752a
      
https://github.com/tianocore/edk2/commit/7d4da670ea7b3be1f8c3a8d6768f59c2c8d3752a
  Author: Jiaxin Wu <[email protected]>
  Date:   2024-10-12 (Sat, 12 Oct 2024)

  Changed paths:
    M UefiCpuPkg/Include/Library/SmmCpuPlatformHookLib.h
    M UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.c

  Log Message:
  -----------
  UefiCpuPkg: Add SmmCpuPlatformHookBeforeMmiHandler

This patch is to add SmmCpuPlatformHookBeforeMmiHandler interface
in SmmCpuPlatformHookLib.

The new API can be used to perform the platform specific items
before executing MMI Handler. For example, Intel can leverage
this API to clear the pending SMI bit after all CPUs finish the
sync and before the MMI handlers. If so, the the redundant
SMI can be avoided after CPU exit from current SMI.

Signed-off-by: Jiaxin Wu <[email protected]>


  Commit: e34460c8b27d4f47b4f895e06955a254c5b0ac00
      
https://github.com/tianocore/edk2/commit/e34460c8b27d4f47b4f895e06955a254c5b0ac00
  Author: Jiaxin Wu <[email protected]>
  Date:   2024-10-12 (Sat, 12 Oct 2024)

  Changed paths:
    M OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.c

  Log Message:
  -----------
  OvmfPkg/Library: Impl SmmCpuPlatformHookBeforeMmiHandler func

This patch is to add SmmCpuPlatformHookBeforeMmiHandler func
for OVMF.

Signed-off-by: Jiaxin Wu <[email protected]>


  Commit: fcd9570c8d8164b42f907137a3a6e78977cc860a
      
https://github.com/tianocore/edk2/commit/fcd9570c8d8164b42f907137a3a6e78977cc860a
  Author: Jiaxin Wu <[email protected]>
  Date:   2024-10-12 (Sat, 12 Oct 2024)

  Changed paths:
    M UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c

  Log Message:
  -----------
  UefiCpuPkg/PiSmmCpuDxeSmm: Consume SmmCpuPlatformHookBeforeMmiHandler func

This patch is for PiSmmCpuDxeSmm driver to add one round wait/release sync
for BSP and AP to perform the SMM CPU Platform Hook before executing MMI
Handler: SmmCpuPlatformHookBeforeMmiHandler (). With the function, SMM CPU
driver can perform the platform specific items after one round BSP and AP
sync (to make sure all APs in SMI) and before the MMI handlers.

After the change, steps #1 and #2 are additional requirements if the
MmCpuSyncModeTradition mode is selected.

Signed-off-by: Jiaxin Wu <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/d2a41d1a7a55...fcd9570c8d81

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