summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Huang <wei@redhat.com>2018-12-03 21:13:32 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2018-12-14 18:00:00 +0100
commit3d82c565a7a237b9dd4666f17c84dcc028d2bed5 (patch)
treed05719df1a37b94b9f48ce4b6be1050ea6942159
parentkvm: x86: Report STIBP on GET_SUPPORTED_CPUID (diff)
downloadlinux-3d82c565a7a237b9dd4666f17c84dcc028d2bed5.tar.xz
linux-3d82c565a7a237b9dd4666f17c84dcc028d2bed5.zip
kvm: vmx: add cpu into VMX preemption timer bug list
This patch adds Intel "Xeon CPU E3-1220 V2", with CPUID.01H.EAX=0x000306A8, into the list of known broken CPUs which fail to support VMX preemption timer. This bug was found while running the APIC timer test of kvm-unit-test on this specific CPU, even though the errata info can't be located in the public domain for this CPU. Signed-off-by: Wei Huang <wei@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--arch/x86/kvm/vmx/vmx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c
index 579f4c4144d2..ddaae1d4cd49 100644
--- a/arch/x86/kvm/vmx/vmx.c
+++ b/arch/x86/kvm/vmx/vmx.c
@@ -469,6 +469,8 @@ static u32 vmx_preemption_cpu_tfms[] = {
/* 321324.pdf - AAK139 - D0 - Xeon 5500 */
/* 320836.pdf - AAJ124 - D0 - i7-900 Extreme and i7-900 Desktop */
0x000106A5,
+ /* Xeon E3-1220 V2 */
+0x000306A8,
};
static inline bool cpu_has_broken_vmx_preemption_timer(void)