diff mbox series

[1/1] kvm: vmx: add cpu into VMX preemption timer bug list

Message ID 20181203201332.20287-1-wei@redhat.com (mailing list archive)
State New, archived
Headers show
Series [1/1] kvm: vmx: add cpu into VMX preemption timer bug list | expand

Commit Message

Wei Huang Dec. 3, 2018, 8:13 p.m. UTC
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>
---
 arch/x86/kvm/vmx.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Paolo Bonzini Dec. 14, 2018, 10:55 a.m. UTC | #1
On 03/12/18 21:13, Wei Huang wrote:
> 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>
> ---
>  arch/x86/kvm/vmx.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
> index 02edd9960e9d..2b90be38c02e 100644
> --- a/arch/x86/kvm/vmx.c
> +++ b/arch/x86/kvm/vmx.c
> @@ -1764,6 +1764,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)
> 

Queued, thanks.

Paolo
diff mbox series

Patch

diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 02edd9960e9d..2b90be38c02e 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -1764,6 +1764,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)