diff options
author | Paolo Bonzini <[email protected]> | 2018-01-16 16:42:25 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-01-17 07:38:39 +0100 |
commit | 4fdec2034b7540dda461c6ba33325dfcff345c64 (patch) | |
tree | ce73af3cc5416465dfba476e3cd46c7713c91bf6 /net/unix/sysctl_net_unix.c | |
parent | 385d11b152c4eb638eeb769edcb3249533bb9a00 (diff) |
x86/cpufeature: Move processor tracing out of scattered features
Processor tracing is already enumerated in word 9 (CPUID[7,0].EBX),
so do not duplicate it in the scattered features word.
Besides being more tidy, this will be useful for KVM when it presents
processor tracing to the guests. KVM selects host features that are
supported by both the host kernel (depending on command line options,
CPU errata, or whatever) and KVM. Whenever a full feature word exists,
KVM's code is written in the expectation that the CPUID bit number
matches the X86_FEATURE_* bit number, but this is not the case for
X86_FEATURE_INTEL_PT.
Signed-off-by: Paolo Bonzini <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Luwei Kang <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Radim Krčmář <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions