Re: [edk2-devel] [PATCH v2 0/1] CI: Use latest image for Linux jobs (Qemu 8, gcc 12)

2023-06-25 Thread Oliver Steffen
Quoting Michael Kubacki (2023-06-23 15:08:12) > Hi Oliver, > > I see the PR you linked is marked as draft and test. > > I'm happy to help push this if you can confirm when you're done testing. Changed it, removed Draft and "Test". Thanks, Oliver > Thanks, > Michael > > On 6/22/2023 7:37 AM, Oli

Re: [edk2-devel] [Patch V2 6/6] UefiCpuPkg: Enhance MpHandOff Handling.

2023-06-25 Thread Yuanhao Xie
Hi Ray, I will leave the enhance patch as the separated one and send it later on. Thanks for the feedback. Yuanhao -Original Message- From: Ni, Ray Sent: Monday, June 26, 2023 11:14 AM To: Xie, Yuanhao ; devel@edk2.groups.io Cc: Gerd Hoffmann ; Dong, Eric ; Kumar, Rahul R ; Tom Lendack

[edk2-devel] [Patch V3 4/5] UefiCpuPkg: ApWakeupFunction directly use CpuMpData.

2023-06-25 Thread Yuanhao Xie
In the original design, once the APs finished executing their assembly code and switched to executing C code, they would enter a continuous loop within a function. In this function, they would collect CpuMpData using the MP_CPU_EXCHANGE_INFO mechanism. However, in the updated approach, CpuMpData ca

[edk2-devel] [Patch V3 5/5] UefiCpuPkg: Eliminate the second INIT-SIPI-SIPI sequence.

2023-06-25 Thread Yuanhao Xie
When both the PEI and DXE phases operate in the same execution mode(32-bit/64-bit), the BSP send a special start-up signal during the DXE phase to awaken the Application APs. To eliminate the need for the INIT-SIPI-SIPI sequence at the beginning of the DXE phase, the BSP call the SwitchApContext f

[edk2-devel] [Patch V3 2/5] UefiCpuPkg: Refactor the logic for placing APs in Mwait/Runloop.

2023-06-25 Thread Yuanhao Xie
Refactor the logic for placing APs in Mwait/Runloop into a separate function. Cc: Gerd Hoffmann Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar Cc: Tom Lendacky Signed-off-by: Yuanhao Xie --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 83 ++-

[edk2-devel] [Patch V3 3/5] UefiCpuPkg: Create MpHandOff.

2023-06-25 Thread Yuanhao Xie
Initially, the purpose of the Hob was twofold: it served as a way to transfer information from PEI to DXE. However, during the DXE phase, only a few fields from the CPU_MP_DATA which collected in PEI phase were needed. A new Hob was specifically created to transfer information to the DXE phase. T

[edk2-devel] [Patch V3 1/5] UefiCpuPkg: Refactor the logic for placing APs in HltLoop.

2023-06-25 Thread Yuanhao Xie
Refactor the logic for placing APs in HltLoop into a separate function. Cc: Gerd Hoffmann Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar Cc: Tom Lendacky Signed-off-by: Yuanhao Xie --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 35 --- 1 file changed, 24 insertions(+),

[edk2-devel] [Patch V3 0/5] Eliminate the second INIT-SIPI-SIPI sequence

2023-06-25 Thread Yuanhao Xie
To speed up MP initialization, this set of patches replaces the time-consuming init-sipi-sipi process in the DXE phase. Instead, a start-up signal is used to wake up the APs and switch context from the PEI phase to the DXE phase. This optimization is effective when both PEI and DXE operate in

[edk2-devel] [PATCH V3] NetworkPkg: Correct the length of EAP Identity when in ASCII format

2023-06-25 Thread Li, Yi
FIX: https://bugzilla.tianocore.org/show_bug.cgi?id=4477 Tls connection fail over WiFi in AMT OCR flow due to invalid identity. This was due to missing conversion between unicode and ascii string which resulted in invalid strlen. Cc: Maciej Rabeda Cc: Zachary Clark-Williams Signed-off-by: Yi L

Re: [edk2-devel] [PATCH] IntelFsp2WrapperPkg: Get HobListPtr before calling the Multiphase FSPS

2023-06-25 Thread Chiu, Chasel
Patch merged: https://github.com/tianocore/edk2/commit/ac33eee8b83999ba591af04fe22e773cf8fc8193 Thanks, Chasel > -Original Message- > From: Aishwarya, KurugoduMelmatamX > > Sent: Sunday, June 11, 2023 10:24 PM > To: devel@edk2.groups.io > Cc: Aishwarya, KurugoduMelmatamX > ; Chiu, Ch

Re: [edk2-devel] Need help to add me to the edk-ii-maintainers and edk-ii-reviewers team

2023-06-25 Thread cbduggap
Thanks, Chinni. From: Duggapu, Chinni B Sent: Monday, June 19, 2023 10:58 AM To: devel@edk2.groups.io Subject: Need help to add me to the edk-ii-maintainers and edk-ii-reviewers team HI All I signed up to work as Maintainer for InteFsp2Pkg and IntelFsp2WrapperPkg and part of https://github.co

Re: [edk2-devel] [Patch V2 6/6] UefiCpuPkg: Enhance MpHandOff Handling.

2023-06-25 Thread Ni, Ray
Yuanhao, I suggest we "attack" this "large number of processors" problem in a separate patch series. There are several things that need to consider: * Calculate maximum number of processor info within one MP_HAND_OFF hob * Consumer code should not assume there is only one MP_HAND_OFF hob * Consume

Re: [edk2-devel] [PATCH 1/5] UefiCpuPkg: Create MpHandOff to transfer info from PEI to DXE.

2023-06-25 Thread Yuanhao Xie
Hi Gerd, I have updated is in V2. Please have a check. Thanks Yuanhao -Original Message- From: Gerd Hoffmann Sent: Tuesday, June 20, 2023 10:09 PM To: devel@edk2.groups.io; Xie, Yuanhao Cc: Dong, Eric ; Ni, Ray ; Kumar, Rahul R ; Tom Lendacky Subject: Re: [edk2-devel] [PATCH 1/5] Uef

Re: [edk2-devel] [PATCH 3/5] UefiCpuPkg: Refactor the logic for placing APs in Mwait/Runloop.

2023-06-25 Thread Yuanhao Xie
Hi Gerd, Thanks for the feedback. I have updated in V2. Please have a check. Yuanhao -Original Message- From: devel@edk2.groups.io On Behalf Of Gerd Hoffmann Sent: Tuesday, June 20, 2023 10:11 PM To: devel@edk2.groups.io; Xie, Yuanhao Cc: Dong, Eric ; Ni, Ray ; Kumar, Rahul R Subject:

[edk2-devel] Event: Tools, CI, Code base construction meeting series - Monday, June 26, 2023 #cal-reminder

2023-06-25 Thread Group Notification
*Reminder: Tools, CI, Code base construction meeting series* *When:* Monday, June 26, 2023 4:30pm to 5:30pm (UTC-07:00) America/Los Angeles *Where:* https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZDI2ZDg4NmMtMjI1My00MzI5LWFmYjAtMGQyNjUzNTBjZGYw%40thread.v2/0?context=%7b%22Tid%22%3a%2272f9

[edk2-devel] [Patch V2 6/6] UefiCpuPkg: Enhance MpHandOff Handling.

2023-06-25 Thread Yuanhao Xie
Enhance MpHandOff Handling for Systems with a Large Number of Processors. Cc: Gerd Hoffmann Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar Cc: Tom Lendacky Signed-off-by: Yuanhao Xie --- UefiCpuPkg/Library/MpInitLib/MpLib.c| 128 +++

[edk2-devel] [Patch V2 5/6] UefiCpuPkg: Eliminate the second INIT-SIPI-SIPI sequence.

2023-06-25 Thread Yuanhao Xie
When both the PEI and DXE phases operate in the same execution mode(32-bit/64-bit), the BSP send a special start-up signal during the DXE phase to awaken the Application APs. To eliminate the need for the INIT-SIPI-SIPI sequence at the beginning of the DXE phase, the BSP call the SwitchApContext f

[edk2-devel] [Patch V2 4/6] UefiCpuPkg: ApWakeupFunction directly use CpuMpData.

2023-06-25 Thread Yuanhao Xie
In the original design, once the APs finished executing their assembly code and switched to executing C code, they would enter a continuous loop within a function. In this function, they would collect CpuMpData using the MP_CPU_EXCHANGE_INFO mechanism. However, in the updated approach, CpuMpData ca

[edk2-devel] [Patch V2 3/6] UefiCpuPkg: Create MpHandOff.

2023-06-25 Thread Yuanhao Xie
Initially, the purpose of the Hob was twofold: it served as a way to transfer information from PEI to DXE. However, during the DXE phase, only a few fields from the CPU_MP_DATA which collected in PEI phase were needed. A new Hob was specifically created to transfer information to the DXE phase. T

[edk2-devel] [Patch V2 2/6] UefiCpuPkg: Refactor the logic for placing APs in Mwait/Runloop.

2023-06-25 Thread Yuanhao Xie
Refactor the logic for placing APs in Mwait/Runloop into a separate function. Cc: Gerd Hoffmann Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar Cc: Tom Lendacky Signed-off-by: Yuanhao Xie --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 83 ++-

[edk2-devel] [Patch V2 1/6] UefiCpuPkg: Refactor the logic for placing APs in HltLoop.

2023-06-25 Thread Yuanhao Xie
Refactor the logic for placing APs in HltLoop into a separate function. Cc: Gerd Hoffmann Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar Cc: Tom Lendacky Signed-off-by: Yuanhao Xie --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 35 --- 1 file changed, 24 insertions(+),

[edk2-devel] [Patch V2 0/6] Eliminate the second INIT-SIPI-SIPI sequence

2023-06-25 Thread Yuanhao Xie
To speed up MP initialization, this set of patches replaces the time-consuming init-sipi-sipi process in the DXE phase. Instead, a start-up signal is used to wake up the APs and switch context from the PEI phase to the DXE phase. This optimization is effective when both PEI and DXE operate in

[edk2-devel] UsbNetworkPkg not find in UDK 202305 stable version

2023-06-25 Thread Yoshinoya
Hello, I have a question about UsbNetworkPkg. UsbNetworkPkg not find in UDK 202305 stable version, so where could download it? Here is a sample paste about UsbNetworkPkg https://edk2.groups.io/g/devel/message/102688?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Acreated%2C0%2Cusb+lan%2C20%2C2%2C0%2C98122714 Th