summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2023-03-22 21:33:08 +0300
committerSean Christopherson <seanjc@google.com>2023-03-22 22:34:34 +0300
commit3763bf58029f3459d7187f687eadfc8eb08e5ca8 (patch)
tree027e63db31330eccd409a4882c0040e0a5e656f8 /tools/perf/scripts/python/stackcollapse.py
parentab2ee212a57bf136b896a47ce37da38a1fdbdc36 (diff)
downloadlinux-3763bf58029f3459d7187f687eadfc8eb08e5ca8.tar.xz
x86/cpufeatures: Redefine synthetic virtual NMI bit as AMD's "real" vNMI
The existing X86_FEATURE_VNMI is a synthetic feature flag that exists purely to maintain /proc/cpuinfo's ABI, the "real" Intel vNMI feature flag is tracked as VMX_FEATURE_VIRTUAL_NMIS, as the feature is enumerated through VMX MSRs, not CPUID. AMD is also gaining virtual NMI support, but in true VMX vs. SVM form, enumerates support through CPUID, i.e. wants to add real feature flag for vNMI. Redefine the syntheic X86_FEATURE_VNMI to AMD's real CPUID bit to avoid having both X86_FEATURE_VNMI and e.g. X86_FEATURE_AMD_VNMI. Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions