Re: [edk2] [PATCH] UefiCpuPkg/MpInitLib: Avoid calling PEI services from AP

2018-07-03 Thread Dong, Eric
Reviewed-by: Eric Dong > -Original Message- > From: Ni, Ruiyu > Sent: Monday, July 2, 2018 2:02 PM > To: edk2-devel@lists.01.org > Cc: Jeff Fan ; Dong, Eric ; > Yao, Jiewen ; Fish Andrew ; Laszlo > Ersek > Subject: [PATCH] UefiCpuPkg/MpInitLib: Avoid calling PEI services from AP > >

Re: [edk2] [PATCH] UefiCpuPkg/MpInitLib: Avoid calling PEI services from AP

2018-07-02 Thread Laszlo Ersek
On 07/02/18 08:01, Ruiyu Ni wrote: > Today's MpInitLib PEI implementation directly calls > PeiServices->GetHobList() from AP which may cause racing issue. > > This patch fixes this issue by duplicating IDT for APs. > Because CpuMpData structure is stored just after IDT, the CpuMPData > address