Re: [edk2-devel] [PATCH 1/1] Ext4Pkg: Move unicode collation initialization to Start()

2023-02-19 Thread Ard Biesheuvel
On Fri, 17 Feb 2023 at 21:14, Pedro Falcato wrote: > > There have been reports[1] of failures to boot due to unicode collation > protocols not being available at Ext4Dxe load time. Therefore, attempt > to initialize unicode collation at Start() time, like done previously in >

Re: [edk2-devel] BUG: tianocore does not honor the bootorder

2023-02-19 Thread Gerd Hoffmann
On Fri, Feb 17, 2023 at 10:23:22AM -0600, Gregory Lee Bartholomew wrote: > On Fri, 2023-02-17 at 14:08 +0100, Gerd Hoffmann wrote: > > On Wed, Feb 15, 2023 at 02:20:23PM -0600, Gregory Lee Bartholomew wrote: > > > I have a script that uses Qemu to install a Linux OS to the supplied > > > device.

[edk2-devel] [Patch V2 5/5] UefiCpuPkg: Put APs in 64 bit mode before handoff to OS.

2023-02-19 Thread Yuanhao Xie
Update the address of the allocated memory, only keep 4GB limitation for the case that APs still need to be transferred to 32-bit mode before OS. Remove the unused arguments of AsmRelocateApLoopStart, update the stack offset. For the processors other than with SEV-ES enabled, keep APs in 64 bit

[edk2-devel] [Patch V2 4/5] UefiPayloadPkg: Add CpuPageTableLib required by MpInitLib.

2023-02-19 Thread Yuanhao Xie
Add CpuPageTableLib required by MpInitLib in UefiPayloadPkg. Cc: Guo Dong Cc: Ray Ni Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by: Yuanhao Xie --- UefiPayloadPkg/UefiPayloadPkg.dsc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[edk2-devel] [Patch V2 3/5] OvmfPkg: Add CpuPageTableLib required by MpInitLib.

2023-02-19 Thread Yuanhao Xie
Add CpuPageTableLib required by MpInitLib in OvmfPkg. Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Signed-off-by: Yuanhao Xie --- OvmfPkg/AmdSev/AmdSevX64.dsc | 3 ++- OvmfPkg/CloudHv/CloudHvX64.dsc | 3 ++- OvmfPkg/IntelTdx/IntelTdxX64.dsc | 4 +++-

[edk2-devel] [Patch V2 2/5] UefiCpuPkg: Contiguous memory allocation and code clean-up.

2023-02-19 Thread Yuanhao Xie
Allocate the memory for stacks and APs loop at contiguous address. The memory is calculated taking into account the size difference of RelocateApLoopFunc under different cases. This patch also includes the code refactoring to eliminate the duplication, non-descriptive variable, etc. Cc: Guo Dong

[edk2-devel] [Patch V2 1/5] UefiCpuPkg: Duplicate RelocateApLoop for the processors with SEV-ES.

2023-02-19 Thread Yuanhao Xie
The processors with SEV-ES enabled follow the original logic, for the other cases the APs will be put in 64-bit mode before handing off the boot process to the OS. To achieve this purpose, this patch duplicate RelocateApLoop and other related code for the processors with SEV-ES. Cc: Guo Dong Cc:

[edk2-devel] [PATCH 0/5] Put APs in 64 bit mode before handoff to OS

2023-02-19 Thread Yuanhao Xie
The purpose of this patch series is to put the AP in 64-bit mode before handing off the boot process to the OS. To do this, duplicate relocateApLoop for processors with SEV-ES, allocate contiguous memory, then create page tables and keep AP in 64-bit mode. Yuanhao Xie (5): UefiCpuPkg:

Re: [edk2-devel] [PATCH v9 0/6] Simplify SMM Relocation Process

2023-02-19 Thread Ni, Ray
Mike, it can wait. > -Original Message- > From: Kinney, Michael D > Sent: Monday, February 20, 2023 10:37 AM > To: devel@edk2.groups.io; Wu, Jiaxin > Cc: Dong, Eric ; Ni, Ray ; Zeng, Star > ; Laszlo Ersek ; Gerd Hoffmann > ; Kumar, Rahul R ; Kinney, > Michael D > Subject: RE:

Re: [edk2-devel] [PATCH v9 0/6] Simplify SMM Relocation Process

2023-02-19 Thread Michael D Kinney
Is this for the edk2-stable202303? Or can it wait to be merged after the release? Thanks, Mike > -Original Message- > From: devel@edk2.groups.io On Behalf Of Wu, Jiaxin > Sent: Sunday, February 19, 2023 5:07 PM > To: devel@edk2.groups.io; Wu, Jiaxin > Cc: Dong, Eric ; Ni, Ray ;

Re: [edk2-devel] [PATCH v9 0/6] Simplify SMM Relocation Process

2023-02-19 Thread Ni, Ray
I expect Gerd at least acknowledges all patches for UefiCpuPkg. Following three haven't got: * [PATCH v9 3/6] UefiCpuPkg/SmmBaseHob.h: Add SMM Base HOB Data * [PATCH v9 4/6] UefiCpuPkg/PiSmmCpuDxeSmm: Consume SMM Base Hob for SmBase info * [PATCH v9 5/6] UefiCpuPkg/SmmCpuFeaturesLib: Skip

Re: [edk2-devel] [PATCH v9 0/6] Simplify SMM Relocation Process

2023-02-19 Thread Wu, Jiaxin
Any more comments to patch series? If no objection, Ray, please help merge the patches. Thanks, Jiaxin > -Original Message- > From: devel@edk2.groups.io On Behalf Of Wu, Jiaxin > Sent: Thursday, February 16, 2023 2:16 PM > To: devel@edk2.groups.io > Cc: Dong, Eric ; Ni, Ray ; Zeng,