[edk2-devel] [Patch V7 0/4] Wake up APs after power-up or RESET through SIPI.

Yuanhao Xie posted 4 patches 9 months ago
Failed in applying to current master (apply log)
OvmfPkg/OvmfPkgIa32.dsc                                    |  9 ++++++++-
OvmfPkg/OvmfPkgIa32X64.dsc                                 |  7 +++++++
OvmfPkg/OvmfPkgX64.dsc                                     |  7 +++++++
UefiCpuPkg/Include/Library/LocalApicLib.h                  | 17 ++++++++++++++++-
UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c             | 43 ++++++++++++++++++++++++++++++-------------
UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c | 43 ++++++++++++++++++++++++++++++-------------
UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf              |  1 +
UefiCpuPkg/Library/MpInitLib/MpLib.c                       |  9 ++++++++-
UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf              |  1 +
UefiCpuPkg/UefiCpuPkg.dec                                  | 11 +++++++++++
10 files changed, 119 insertions(+), 29 deletions(-)
[edk2-devel] [Patch V7 0/4] Wake up APs after power-up or RESET through SIPI.
Posted by Yuanhao Xie 9 months ago
The implementation of this new behavior aligns with the
guidelines outlined in the Intel SDM.

Following a power-up or RESET of an MP system, system hardware
dynamically selects one of the processors on the system bus as
the BSP. The remaining processors are designated as APs.
The APs complete a minimal self-configuration,
then wait for SIPI from the BSP processor

Yuanhao Xie (1):
  UefiCpuPkg: Add SendStartupIpiAllExcludingSelf

YuanhaoXie (3):
  UefiCpuPkg: Add PcdFirstTimeWakeUpAPsBySipi
  OvmfPkg: Disable PcdFirstTimeWakeUpAPsBySipi.
  UefiCpuPkg:Wake up APs after power-up or RESET through SIPI.

 OvmfPkg/OvmfPkgIa32.dsc                                    |  9 ++++++++-
 OvmfPkg/OvmfPkgIa32X64.dsc                                 |  7 +++++++
 OvmfPkg/OvmfPkgX64.dsc                                     |  7 +++++++
 UefiCpuPkg/Include/Library/LocalApicLib.h                  | 17 ++++++++++++++++-
 UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c             | 43 ++++++++++++++++++++++++++++++-------------
 UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c | 43 ++++++++++++++++++++++++++++++-------------
 UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf              |  1 +
 UefiCpuPkg/Library/MpInitLib/MpLib.c                       |  9 ++++++++-
 UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf              |  1 +
 UefiCpuPkg/UefiCpuPkg.dec                                  | 11 +++++++++++
 10 files changed, 119 insertions(+), 29 deletions(-)

-- 
2.36.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107378): https://edk2.groups.io/g/devel/message/107378
Mute This Topic: https://groups.io/mt/100451984/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] [Patch V7 0/4] Wake up APs after power-up or RESET through SIPI.
Posted by Ard Biesheuvel 8 months, 3 weeks ago
On Mon, 31 Jul 2023 at 00:44, Yuanhao Xie <yuanhao.xie@intel.com> wrote:
>
> The implementation of this new behavior aligns with the
> guidelines outlined in the Intel SDM.
>
> Following a power-up or RESET of an MP system, system hardware
> dynamically selects one of the processors on the system bus as
> the BSP. The remaining processors are designated as APs.
> The APs complete a minimal self-configuration,
> then wait for SIPI from the BSP processor
>
> Yuanhao Xie (1):
>   UefiCpuPkg: Add SendStartupIpiAllExcludingSelf
>
> YuanhaoXie (3):
>   UefiCpuPkg: Add PcdFirstTimeWakeUpAPsBySipi
>   OvmfPkg: Disable PcdFirstTimeWakeUpAPsBySipi.
>   UefiCpuPkg:Wake up APs after power-up or RESET through SIPI.
>

This series was reviewed by Ray before the soft freeze, it just lacked
a R-b from an OVMF maintainer (Jiewen or myself).

So unless anyone objects, I would like to merge this asap and include
it in the upcoming stable tag.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107685): https://edk2.groups.io/g/devel/message/107685
Mute This Topic: https://groups.io/mt/100451984/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-