lkml.org 
[lkml]   [2016]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] perf/x86/intel/pt: Don't die on VMXON
Date
Borislav Petkov <bp@alien8.de> writes:

> On Wed, Apr 06, 2016 at 01:52:15PM +0200, Peter Zijlstra wrote:
>> Borislav tells me this ought to be boot_cpu_has(X86_FEATURE_VMX)
>>
>> > + /* Intel SDM, 36.5 "Tracing post-VMXON" */
>> > + rdmsrl(MSR_IA32_VMX_MISC, reg);
>> > + if (reg & BIT(14))
>
> Also, I needz to consult my crystal ball about what bit 14 is...
>
> :-)

I know. It's right there in SDM chapter 36.5, referred to as "bit 14"
and it's not mentioned anywhere else that I could find, so I just left a
comment there.

Regards,
--
Alex

\
 
 \ /
  Last update: 2016-04-06 14:41    [W:2.496 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site