On 01/08/18 06:39, Jian J Wang wrote: >> v3 changes: >> a. Split the patch into two patch files. >> b. Pass MpServiceProtocol test cases in PI SCT. > >> v2 changes: >> a. Use each AP's ApTopOfStack to get the stack base address instead of >> cpu0's ApTopOfStack which is actually set incorrectly before. >> b. Fix cpu0's ApTopOfStack initialization. >> c. Fix wrong debug print format. > > The reason is that DXE part initialization will reuse the stack allocated > at PEI phase, if MP was initialized before. Some code added to check this > situation and use stack base address saved in HOB passed from PEI. > > Jian J Wang (2): > UefiCpuPkg/MpInitLib: fix incorrect stack base init for cpu0 > UefiCpuPkg/MpInitLib: fix wrong address set as Stack Guard for APs > > UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 19 ++++++++++++++++++- > UefiCpuPkg/Library/MpInitLib/MpLib.c | 2 +- > 2 files changed, 19 insertions(+), 2 deletions(-) >
series Reviewed-by: Laszlo Ersek <[email protected]> Thanks! Laszlo _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

