lkml.org 
[lkml]   [2016]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] perf: honouring the cpuid for number of fixed counters in hypervisors
On Thu, Oct 13, 2016 at 01:28:09AM -0700, Imre Palik wrote:
> + if (version > 1) {
> + unsigned int ecx = cpuid_ecx(1);
> +
> + if (ecx >> 31)

What is this magic, undocumented gunk doing? Is that supposed to be
static_cpu_has(X86_FEATURE_HYPERVISOR) ?

\
 
 \ /
  Last update: 2016-10-16 15:52    [W:0.047 / U:0.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site