Re: [edk2] [Patch] UefiCpuPkg/CpuFeatures: Export HOB if CPU initialized in PEI.

2017-10-25 Thread Dong, Eric
Laszlo, > -Original Message- > From: Laszlo Ersek [mailto:ler...@redhat.com] > Sent: Wednesday, October 25, 2017 10:43 PM > To: Dong, Eric ; edk2-devel@lists.01.org > Cc: Ni, Ruiyu > Subject: Re: [Patch] UefiCpuPkg/CpuFeatures: Export HOB if CPU

Re: [edk2] [Patch] UefiCpuPkg/CpuFeatures: Export HOB if CPU initialized in PEI.

2017-10-25 Thread Laszlo Ersek
Hi Eric, On 10/25/17 09:58, Eric Dong wrote: > In current implementation, CPU initialized can be done in PEI > or DXE phase. PEI uses CpuFeaturesPie and Dxe uses CpuFeaturesDxe. (1) "CpuFeaturesPie" has a typo > If CPU initialized in PEI phase, CpuFeaturesDxe driver will > not be used. This

Re: [edk2] [Patch] UefiCpuPkg/CpuFeatures: Export HOB if CPU initialized in PEI.

2017-10-25 Thread Ni, Ruiyu
Reviewed-by: Ruiyu Ni -Original Message- From: Dong, Eric Sent: Wednesday, October 25, 2017 3:59 PM To: edk2-devel@lists.01.org Cc: Ni, Ruiyu ; Laszlo Ersek Subject: [Patch] UefiCpuPkg/CpuFeatures: Export HOB if CPU initialized

[edk2] [Patch] UefiCpuPkg/CpuFeatures: Export HOB if CPU initialized in PEI.

2017-10-25 Thread Eric Dong
In current implementation, CPU initialized can be done in PEI or DXE phase. PEI uses CpuFeaturesPie and Dxe uses CpuFeaturesDxe. If CPU initialized in PEI phase, CpuFeaturesDxe driver will not be used. This driver will install gEdkiiCpuFeaturesInitDoneGuid protocol after it initializes the CPU.