]> 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)
commit17ce1356b4ce045da30822a5e4ec8d531689616b
tree7766a5c5648de4f7476286b45191c709f33749b1
parentcd907e2bcfc7ea0b24bb597620e2173b17204427
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