Re: [PATCH] x86: add a new SMP bring up way for tboot case

2013-05-15 Thread H. Peter Anvin
On 05/15/2013 09:10 AM, Wei, Gang wrote: > Oh, the question should be in what states all the AP CPU registers are. Do > you > think we need to define the case like what Intel SDM defined for > getsec[SENTER]? > > Jimmy I'll take a look later today. -hpa -- To unsubscribe from this l

RE: [PATCH] x86: add a new SMP bring up way for tboot case

2013-05-15 Thread Wei, Gang
Oh, the question should be in what states all the AP CPU registers are. Do you think we need to define the case like what Intel SDM defined for getsec[SENTER]? Jimmy H. Peter Anvin wrote on 2013-05-15: > No, this does not really answer the question of what the CPU state looks > like. > > "Ren,

RE: [PATCH] x86: add a new SMP bring up way for tboot case

2013-05-15 Thread H. Peter Anvin
No, this does not really answer the question of what the CPU state looks like. "Ren, Qiaowei" wrote: >On 2013-05-14, H. Peter Anvin wrote: >> On 05/14/2013 02:21 PM, Qiaowei Ren wrote: >>> tboot provides a better AP wakeup mechanism based on cpu MWAIT >>> feature for OS/VMM. With this mechanism,

RE: [PATCH] x86: add a new SMP bring up way for tboot case

2013-05-15 Thread Ren, Qiaowei
On 2013-05-14, H. Peter Anvin wrote: > On 05/14/2013 02:21 PM, Qiaowei Ren wrote: >> tboot provides a better AP wakeup mechanism based on cpu MWAIT >> feature for OS/VMM. With this mechanism, system will boot faster and >> will NOT require VT to be enabled. But it requires that OS/VMM must >> have

Re: [PATCH] x86: add a new SMP bring up way for tboot case

2013-05-14 Thread H. Peter Anvin
On 05/14/2013 02:21 PM, Qiaowei Ren wrote: > tboot provides a better AP wakeup mechanism based on cpu MWAIT > feature for OS/VMM. With this mechanism, system will boot faster > and will NOT require VT to be enabled. But it requires that > OS/VMM must have support it, otherwise system can never boot

RE: [PATCH] x86: add a new SMP bring up way for tboot case

2013-05-14 Thread Ren, Qiaowei
On 2013-05-14, Borislav Petkov wrote: > On Wed, May 15, 2013 at 05:21:25AM +0800, Qiaowei Ren wrote: > > diff --git a/arch/x86/kernel/tboot.c b/arch/x86/kernel/tboot.c index > > f84fe00..0ec1947 100644 > > --- a/arch/x86/kernel/tboot.c > > +++ b/arch/x86/kernel/tboot.c > > @@ -101,6 +101,8 @@ void

Re: [PATCH] x86: add a new SMP bring up way for tboot case

2013-05-14 Thread Borislav Petkov
On Wed, May 15, 2013 at 05:21:25AM +0800, Qiaowei Ren wrote: > tboot provides a better AP wakeup mechanism based on cpu MWAIT > feature for OS/VMM. With this mechanism, system will boot faster > and will NOT require VT to be enabled. But it requires that > OS/VMM must have support it, otherwise sys