Re: [edk2] [PATCH 2/4] UefiCpuPkg/MpService: register NMI handler for wake up AP with hlt state

2015-03-02 Thread Chen Fan
On 02/03/2015 10:51 PM, Jordan Justen wrote: > On 2015-02-03 00:07:20, Fan, Jeff wrote: >> Jordan is right. NMI exception handler may be hooked by platform to capture >> real NMI interrupt. >> >> I suggest to send SIPI to Aps to wakeup AP if AP is in hlt state. >> But Aps needs startup from real

Re: [edk2] [PATCH 2/4] UefiCpuPkg/MpService: register NMI handler for wake up AP with hlt state

2015-02-03 Thread Jordan Justen
On 2015-02-03 00:07:20, Fan, Jeff wrote: > Jordan is right. NMI exception handler may be hooked by platform to capture > real NMI interrupt. > > I suggest to send SIPI to Aps to wakeup AP if AP is in hlt state. > But Aps needs startup from real mode. Yes, we could go back to SIPI if needed. I th

Re: [edk2] [PATCH 2/4] UefiCpuPkg/MpService: register NMI handler for wake up AP with hlt state

2015-02-03 Thread Fan, Jeff
Jordan is right. NMI exception handler may be hooked by platform to capture real NMI interrupt. I suggest to send SIPI to Aps to wakeup AP if AP is in hlt state. But Aps needs startup from real mode. -Original Message- From: Justen, Jordan L Sent: Saturday, January 31, 2015 4:36 AM

Re: [edk2] [PATCH 2/4] UefiCpuPkg/MpService: register NMI handler for wake up AP with hlt state

2015-01-30 Thread Jordan Justen
On 2015-01-29 23:54:44, Chen Fan wrote: > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Chen Fan > --- > UefiCpuPkg/CpuDxe/CpuMp.c | 31 +++ > 1 file changed, 31 insertions(+) > > diff --git a/UefiCpuPkg/CpuDxe/CpuMp.c b/UefiCpuPkg/CpuDxe/Cp

[edk2] [PATCH 2/4] UefiCpuPkg/MpService: register NMI handler for wake up AP with hlt state

2015-01-30 Thread Chen Fan
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chen Fan --- UefiCpuPkg/CpuDxe/CpuMp.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/UefiCpuPkg/CpuDxe/CpuMp.c b/UefiCpuPkg/CpuDxe/CpuMp.c index 71b62be..94b72b7 100644 --- a/UefiCpuPkg/C