Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: af2bbe1b79251f46efaca2ed36860105272dd14f
https://github.com/tianocore/edk2/commit/af2bbe1b79251f46efaca2ed36860105272dd14f
Author: Jiaxin Wu <[email protected]>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M UefiCpuPkg/UefiCpuPkg.dec
M UefiCpuPkg/UefiCpuPkg.uni
Log Message:
-----------
UefiCpuPkg: Add PcdCpuSmmApSyncTimeout2 PCD
Provide the capability for platform to specifies the 2nd
timeout value in microseconds for the BSP/AP in SMM to wait for
one another to enter SMM.
The added interface can enhance the flexibility of timeout
configuration. In some cases, certain processors may not be
able to enter SMI, and prolonged waiting could lead to
kernel soft/hard lockup. We have now defined two timeouts.
The first timeout can be set to a smaller value to reduce
the waiting period. Processors that are unable to enter SMI
will be woken up through SMIIPL to enter SMI, followed by
a second waiting period. The second timeout can be set to a
larger value to prevent delays in processors entering SMI
case due to the long instruction execution.
Signed-off-by: Jiaxin Wu <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Rahul Kumar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Commit: cb3134612d11102fe066c94c8fa7edb20d62c1a8
https://github.com/tianocore/edk2/commit/cb3134612d11102fe066c94c8fa7edb20d62c1a8
Author: Jiaxin Wu <[email protected]>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c
M UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h
M UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
M UefiCpuPkg/PiSmmCpuDxeSmm/SyncTimer.c
Log Message:
-----------
UefiCpuPkg/PiSmmCpuDxeSmm: Consume PcdCpuSmmApSyncTimeout2
This patch is to consume the PcdCpuSmmApSyncTimeout2 to
enhance the flexibility of timeout configuration.
In some cases, certain processors may not be able to enter
SMI, and prolonged waiting could lead to kernel soft/hard
lockup. We have now defined two timeouts. The first timeout
can be set to a smaller value to reduce the waiting period.
Processors that are unable to enter SMI will be woken up
through SMIIPL to enter SMI, followed by a second waiting
period. The second timeout can be set to a larger value to
prevent delays in processors entering SMI case due to the
long instruction execution.
Signed-off-by: Jiaxin Wu <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Rahul Kumar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Commit: 870c1ae253f56703d1e92144940831ebcbcca04c
https://github.com/tianocore/edk2/commit/870c1ae253f56703d1e92144940831ebcbcca04c
Author: Jiaxin Wu <[email protected]>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M UefiCpuPkg/UefiCpuPkg.dec
M UefiCpuPkg/UefiCpuPkg.uni
Log Message:
-----------
UefiCpuPkg: Refine the PCD usage comment
PcdCpuSmmApSyncTimeout is not only used by BSP to wait AP,
but also for AP to wait BSP (APHandler).
This patch is only to refine the PCD comment. No function
impact.
Signed-off-by: Jiaxin Wu <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Rahul Kumar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Commit: ce91687a1b2d4e03b01abb474b4665629776f588
https://github.com/tianocore/edk2/commit/ce91687a1b2d4e03b01abb474b4665629776f588
Author: Jiaxin Wu <[email protected]>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M OvmfPkg/CloudHv/CloudHvX64.dsc
M OvmfPkg/OvmfPkgIa32.dsc
M OvmfPkg/OvmfPkgIa32X64.dsc
M OvmfPkg/OvmfPkgX64.dsc
M OvmfPkg/SmmControl2Dxe/SmiFeatures.c
M OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
Log Message:
-----------
OvmfPkg: Override PcdCpuSmmApSyncTimeout2 to 10ms
PcdCpuSmmApSyncTimeout2 PCD was added in previous patch
(52d0a208), this patch is to override PcdCpuSmmApSyncTimeout2
to 10ms (same as PcdCpuSmmApSyncTimeout) so as to align with
original behavior.
Cc: Ard Biesheuvel <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Ray Ni <[email protected]>
Signed-off-by: Jiaxin Wu <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/712797cf19ac...ce91687a1b2d
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