qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 20271d: i386: host_vendor_fms() helper functi


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 20271d: i386: host_vendor_fms() helper function
Date: Mon, 13 Mar 2017 08:15:10 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 20271d484069f154fb262507e63adc3a37e885d2
      
https://github.com/qemu/qemu/commit/20271d484069f154fb262507e63adc3a37e885d2
  Author: Eduardo Habkost <address@hidden>
  Date:   2017-03-10 (Fri, 10 Mar 2017)

  Changed paths:
    M target/i386/cpu.c
    M target/i386/cpu.h

  Log Message:
  -----------
  i386: host_vendor_fms() helper function

Helper function for code that needs to check the host CPU
vendor/family/model/stepping values.

Signed-off-by: Eduardo Habkost <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 40e80ee4113ad957b633cbdddb7423952bb76974
      
https://github.com/qemu/qemu/commit/40e80ee4113ad957b633cbdddb7423952bb76974
  Author: Eduardo Habkost <address@hidden>
  Date:   2017-03-10 (Fri, 10 Mar 2017)

  Changed paths:
    M target/i386/kvm.c

  Log Message:
  -----------
  i386/kvm: Blacklist TSX on known broken hosts

Some Intel CPUs are known to have a broken TSX implementation. A
microcode update from Intel disabled TSX on those CPUs, but
GET_SUPPORTED_CPUID might be reporting it as supported if the
hosts were not updated yet.

Manually fixup the GET_SUPPORTED_CPUID data to ensure we will
never enable TSX when running on those hosts.

Reference:
* glibc commit 2702856bf45c82cf8e69f2064f5aa15c0ceb6359:
  
https://sourceware.org/git/?p=glibc.git;a=commit;h=2702856bf45c82cf8e69f2064f5aa15c0ceb6359

Signed-off-by: Eduardo Habkost <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: ec56a4a7b07e2943f49da273a31e3195083b1f2e
      
https://github.com/qemu/qemu/commit/ec56a4a7b07e2943f49da273a31e3195083b1f2e
  Author: Eduardo Habkost <address@hidden>
  Date:   2017-03-10 (Fri, 10 Mar 2017)

  Changed paths:
    M include/hw/i386/pc.h
    M target/i386/cpu.c

  Log Message:
  -----------
  i386: Change stepping of Haswell to non-blacklisted value

glibc blacklists TSX on Haswell CPUs with model==60 and
stepping < 4. To make the Haswell CPU model more useful, make
those guests actually use TSX by changing CPU stepping to 4.

References:
* glibc commit 2702856bf45c82cf8e69f2064f5aa15c0ceb6359
  
https://sourceware.org/git/?p=glibc.git;a=commit;h=2702856bf45c82cf8e69f2064f5aa15c0ceb6359

Signed-off-by: Eduardo Habkost <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: f962709c69a05183bf314d3d8c69802d1e3f139c
      
https://github.com/qemu/qemu/commit/f962709c69a05183bf314d3d8c69802d1e3f139c
  Author: Peter Maydell <address@hidden>
  Date:   2017-03-13 (Mon, 13 Mar 2017)

  Changed paths:
    M include/hw/i386/pc.h
    M target/i386/cpu.c
    M target/i386/cpu.h
    M target/i386/kvm.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into 
staging

x86: Haswell TSX blacklist fix for 2.9

# gpg: Signature made Fri 10 Mar 2017 18:45:08 GMT
# gpg:                using RSA key 0x2807936F984DC5A6
# gpg: Good signature from "Eduardo Habkost <address@hidden>"
# Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6

* remotes/ehabkost/tags/x86-pull-request:
  i386: Change stepping of Haswell to non-blacklisted value
  i386/kvm: Blacklist TSX on known broken hosts
  i386: host_vendor_fms() helper function

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/b1616fe0e2a3...f962709c69a0

reply via email to

[Prev in Thread] Current Thread [Next in Thread]