]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/pmu: Expose CPUIDs feature bits PDCM, DS, DTES64
authorLike Xu <likexu@tencent.com>
Mon, 11 Apr 2022 10:19:46 +0000 (18:19 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jun 2022 08:48:22 +0000 (04:48 -0400)
commit52b8d3621c8379c6f1acb1236aa5eeb3842edea1
tree7766a5c5648de4f7476286b45191c709f33749b1
parent6c4f978f8de0b64a7e9db54a263c874cb153a05d
KVM: x86/pmu: Expose CPUIDs feature bits PDCM, DS, DTES64

The CPUID features PDCM, DS and DTES64 are required for PEBS feature.
KVM would expose CPUID feature PDCM, DS and DTES64 to guest when PEBS
is supported in the KVM on the Ice Lake server platforms.

Originally-by: Andi Kleen <ak@linux.intel.com>
Co-developed-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Co-developed-by: Luwei Kang <luwei.kang@intel.com>
Signed-off-by: Luwei Kang <luwei.kang@intel.com>
Signed-off-by: Like Xu <likexu@tencent.com>
Message-Id: <20220411101946.20262-18-likexu@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/capabilities.h
arch/x86/kvm/vmx/vmx.c