[edk2] [Patch 0/2] Enhance collect AP Count logic

Eric Dong posted 2 patches 6 years, 5 months ago
Failed in applying to current master (apply log)
UefiCpuPkg/Library/MpInitLib/Ia32/MpEqu.inc    |  3 ++-
UefiCpuPkg/Library/MpInitLib/Ia32/MpFuncs.nasm | 10 ++++++++--
UefiCpuPkg/Library/MpInitLib/MpLib.c           | 24 ++++++++++++++++--------
UefiCpuPkg/Library/MpInitLib/MpLib.h           |  3 ++-
UefiCpuPkg/Library/MpInitLib/X64/MpEqu.inc     |  5 +++--
UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm  | 10 ++++++++--
6 files changed, 39 insertions(+), 16 deletions(-)
[edk2] [Patch 0/2] Enhance collect AP Count logic
Posted by Eric Dong 6 years, 5 months ago
Current logic always waiting for a specific value to collect all APs
count. This logic may caused some platforms cost too much time to
wait for time out.

This patch series add new logic to collect APs count. It adds new variable
NumApsExecuting to detect whether all APs have finished initialization.
Each AP let NumApsExecuting++ when begin to initialize itself and let
NumApsExecuting-- when it finish the initialization. BSP base on whether
NumApsExecuting == 0 to finished the collect AP process. 

Because current code already use NumApsExecuting variable, so add another
patch to change the variable name for the current code for better 
understanding.


Eric Dong (2):
  UefiCpuPkg/MpInitLib: Change AP Index variable name.
  UefiCpuPkg/MpInitLib: Enhance waiting for AP initialization logic.

 UefiCpuPkg/Library/MpInitLib/Ia32/MpEqu.inc    |  3 ++-
 UefiCpuPkg/Library/MpInitLib/Ia32/MpFuncs.nasm | 10 ++++++++--
 UefiCpuPkg/Library/MpInitLib/MpLib.c           | 24 ++++++++++++++++--------
 UefiCpuPkg/Library/MpInitLib/MpLib.h           |  3 ++-
 UefiCpuPkg/Library/MpInitLib/X64/MpEqu.inc     |  5 +++--
 UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm  | 10 ++++++++--
 6 files changed, 39 insertions(+), 16 deletions(-)

-- 
2.7.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
[edk2] 答复: [Patch 0/2] Enhance collect AP Count logic
Posted by Fan Jeff 6 years, 5 months ago
Reviewed-by: Jeff Fan <vanjeff_919@hotmail.com>

发件人: Eric Dong<mailto:eric.dong@intel.com>
发送时间: 2017年10月23日 15:22
收件人: edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
主题: [edk2] [Patch 0/2] Enhance collect AP Count logic

Current logic always waiting for a specific value to collect all APs
count. This logic may caused some platforms cost too much time to
wait for time out.

This patch series add new logic to collect APs count. It adds new variable
NumApsExecuting to detect whether all APs have finished initialization.
Each AP let NumApsExecuting++ when begin to initialize itself and let
NumApsExecuting-- when it finish the initialization. BSP base on whether
NumApsExecuting == 0 to finished the collect AP process.

Because current code already use NumApsExecuting variable, so add another
patch to change the variable name for the current code for better
understanding.


Eric Dong (2):
  UefiCpuPkg/MpInitLib: Change AP Index variable name.
  UefiCpuPkg/MpInitLib: Enhance waiting for AP initialization logic.

 UefiCpuPkg/Library/MpInitLib/Ia32/MpEqu.inc    |  3 ++-
 UefiCpuPkg/Library/MpInitLib/Ia32/MpFuncs.nasm | 10 ++++++++--
 UefiCpuPkg/Library/MpInitLib/MpLib.c           | 24 ++++++++++++++++--------
 UefiCpuPkg/Library/MpInitLib/MpLib.h           |  3 ++-
 UefiCpuPkg/Library/MpInitLib/X64/MpEqu.inc     |  5 +++--
 UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm  | 10 ++++++++--
 6 files changed, 39 insertions(+), 16 deletions(-)

--
2.7.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel