This serial of patches will sync BSP's CRx to APs when AP initialization. PeiStartupAllAPs()/PeiStartupThisAP() will send INIT-SIPI-SIPI to wakeup APs to execute AP function. However, some registers will be reset after APs received INIT IPI. We need to restore some registers (For example, CRx/DRx) manually after APs wakeup.
Jeff Fan (5): UefiCpuPkg/CpuMpPei: Exchange whole CPU data in SortApicId() UefiCpuPkg/CpuMpPei: Add CPU_VOLATILE_REGISTERS & worker functions UefiCpuPkg/CpuMpPei: Set AP state to CpuStateIdle after initialization UefiCpuPkg/CpuMpPei: Sync BSP's CRx to APs when initialization UefiCpuPkg/CpuMpPei: Save/Restore CRx/DRx register for APs waking up UefiCpuPkg/CpuMpPei/CpuMpPei.c | 106 +++++++++++++++++++++++++++++++++++++---- UefiCpuPkg/CpuMpPei/CpuMpPei.h | 13 +++++ 2 files changed, 109 insertions(+), 10 deletions(-) -- 1.9.5.msysgit.0 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

