Re: [edk2] [Patch] UefiCpuPkg/CpuMpPei: Fix potential AP mwait wakeup issue

2016-04-08 Thread Tian, Feng
Reviewed-by: Feng Tian Thanks Feng -Original Message- From: Fan, Jeff Sent: Friday, April 1, 2016 12:58 PM To: edk2-devel@lists.01.org Cc: Kinney, Michael D ; Tian, Feng Subject: [Patch] UefiCpuPkg/CpuMpPei: Fix

[edk2] [Patch] UefiCpuPkg/CpuMpPei: Fix potential AP mwait wakeup issue

2016-03-31 Thread Jeff Fan
If ApLoopMode is set to ApInMwaitLoop, AP will be placed into C-State by mwait instruction. BSP will wakeup AP by write start-up signal in monitor address. However, AP maybe waken by SMI/NMI/MCE and other condition. On this case, AP will check if BSP wants to wakeup itself really. If not, AP will