Re: [edk2] [PATCH] UefiCpuPkg/MpInitLib: Fix incorrect Guard page setup for APs

2017-12-21 Thread Wang, Jian J
ge update, reviewed-by: jiewen@intel.com > > > > -Original Message- > > From: Wang, Jian J > > Sent: Friday, December 22, 2017 12:26 PM > > To: Wang, Jian J ; edk2-devel@lists.01.org > > Cc: Laszlo Ersek ; Yao, Jiewen ; > > Dong, Eric > > Subject: RE

Re: [edk2] [PATCH] UefiCpuPkg/MpInitLib: Fix incorrect Guard page setup for APs

2017-12-21 Thread Yao, Jiewen
6 PM > To: Wang, Jian J ; edk2-devel@lists.01.org > Cc: Laszlo Ersek ; Yao, Jiewen ; > Dong, Eric > Subject: RE: [edk2] [PATCH] UefiCpuPkg/MpInitLib: Fix incorrect Guard page > setup for APs > > Hi, > > Anyone has any comments on this? > > Regards, > Jian

Re: [edk2] [PATCH] UefiCpuPkg/MpInitLib: Fix incorrect Guard page setup for APs

2017-12-21 Thread Wang, Jian J
wen ; > Dong, Eric > Subject: [edk2] [PATCH] UefiCpuPkg/MpInitLib: Fix incorrect Guard page setup > for APs > > AP has its own stack for code execution. If PcdCpuStackGuard is enabled, > the page at the bottom of stack of AP will be disabled (NOT PRESENT) to > monitor

[edk2] [PATCH] UefiCpuPkg/MpInitLib: Fix incorrect Guard page setup for APs

2017-12-20 Thread Jian J Wang
AP has its own stack for code execution. If PcdCpuStackGuard is enabled, the page at the bottom of stack of AP will be disabled (NOT PRESENT) to monitor the stack overflow issue. This requires PcdCpuApStackSize to be set with value more than one page of memory. Cc: Jiewen Yao Cc: Eric Dong Cc: L