summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@amd.com>2023-01-24 19:33:15 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2023-01-25 15:06:13 +0300
commit84168ae786f8a15a7eb0f79d34f20b8d261ce2f5 (patch)
treec1df51afc3793a3f9ee00bfefe4444a3c47ddc8b /tools/perf/scripts/python/exported-sql-viewer.py
parenta9dc9ec5a1fafc3d2fe7a7b594eefaeaccf89a6b (diff)
downloadlinux-84168ae786f8a15a7eb0f79d34f20b8d261ce2f5.tar.xz
x86/cpu, kvm: Move X86_FEATURE_LFENCE_RDTSC to its native leaf
The LFENCE always serializing feature bit was defined as scattered LFENCE_RDTSC and its native leaf bit position open-coded for KVM. Add it to its newly added CPUID leaf 0x80000021 EAX proper. With LFENCE_RDTSC in its proper place, the kernel's set_cpu_cap() will effectively synthesize the feature for KVM going forward. Also, DE_CFG[1] doesn't need to be set on such CPUs anymore. [ bp: Massage and merge diff from Sean. ] Signed-off-by: Kim Phillips <kim.phillips@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Acked-by: Sean Christopherson <seanjc@google.com> Link: https://lore.kernel.org/r/20230124163319.2277355-5-kim.phillips@amd.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions