1. 18 1月, 2018 8 次提交
    • J
      cpu: Add Broadwell-noTSX-IBRS CPU model · 49bffcb3
      Jiri Denemark 提交于
      This is a variant of Broadwell-noTSX with indirect branch prediction
      protection. The only difference between Broadwell-noTSX and
      Broadwell-noTSX-IBRS is the added "spec-ctrl" feature.
      
      The Broadwell-noTSX-IBRS model in QEMU is a bit different since
      Broadwell-noTSX got several additional features since we added it in
      cpu_map.xml:
          abm, arat, f16c, rdrand, vme, xsaveopt
      
      Adding them only to the -IBRS variant would confuse our CPU detection
      code.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
      49bffcb3
    • J
      cpu: Add Haswell-IBRS CPU model · 7f83eefa
      Jiri Denemark 提交于
      This is a variant of Haswell with indirect branch prediction protection.
      The only difference between Haswell and Haswell-IBRS is the added
      "spec-ctrl" feature.
      
      The Haswell-IBRS model in QEMU is a bit different since Haswell got
      several additional features since we added it in cpu_map.xml:
          arat, abm, f16c, rdrand, vme, xsaveopt
      
      Adding them only to the -IBRS variant would confuse our CPU detection
      code.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
      7f83eefa
    • J
      cpu: Add Haswell-noTSX-IBRS CPU model · 7dd85ff6
      Jiri Denemark 提交于
      This is a variant of Haswell-noTSX with indirect branch prediction
      protection. The only difference between Haswell-noTSX and
      Haswell-noTSX-IBRS is the added "spec-ctrl" feature.
      
      The Haswell-noTSX-IBRS model in QEMU is a bit different since
      Haswell-noTSX got several additional features since we added it in
      cpu_map.xml:
          arat, abm, f16c, rdrand, vme, xsaveopt
      
      Adding them only to the -IBRS variant would confuse our CPU detection
      code.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
      7dd85ff6
    • J
      cpu: Add IvyBridge-IBRS CPU model · 203c92e9
      Jiri Denemark 提交于
      This is a variant of IvyBridge with indirect branch prediction
      protection. The only difference between IvyBridge and IvyBridge-IBRS is
      the added "spec-ctrl" feature.
      
      The IvyBridge-IBRS model in QEMU is a bit different since IvyBridge got
      several additional features since we added it in cpu_map.xml:
          arat, vme, xsaveopt
      
      Adding them only to the -IBRS variant would confuse our CPU detection
      code.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
      203c92e9
    • J
      cpu: Add SandyBridge-IBRS CPU model · 30b381cf
      Jiri Denemark 提交于
      This is a variant of SandyBridge with indirect branch prediction
      protection. The only difference between SandyBridge and SandyBridge-IBRS
      is the added "spec-ctrl" feature.
      
      The SandyBridge-IBRS model in QEMU is a bit different since SandyBridge
      got several additional features since we added it in cpu_map.xml:
          arat, vme, xsaveopt
      
      Adding them only to the -IBRS variant would confuse our CPU detection
      code.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
      30b381cf
    • J
      cpu: Add Westmere-IBRS CPU model · 2e3b220a
      Jiri Denemark 提交于
      This is a variant of Westmere with indirect branch prediction
      protection. The only difference between Westmere and Westmere-IBRS is
      the added "spec-ctrl" feature.
      
      The Westmere-IBRS model in QEMU is a bit different since Westmere got
      several additional features since we added it in cpu_map.xml:
          arat, pclmuldq, vme
      
      Adding them only to the -IBRS variant would confuse our CPU detection
      code.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
      2e3b220a
    • J
      cpu: Add Nehalem-IBRS CPU model · 6b7e7d1c
      Jiri Denemark 提交于
      This is a variant of Nehalem with indirect branch prediction protection.
      The only difference between Nehalem and Nehalem-IBRS is the added
      "spec-ctrl" feature.
      
      Thus the diff matches QEMU, but the new CPU model itself is different.
      The QEMU's versions of both models contain "vme" feature, while this
      feature is missing in libvirt's models. While we can't change the
      existing Nehalem CPU model, we could add "vme" to Nehalem-IBRS to make
      it similar to QEMU, but doing so would fool our CPU detecting code so
      that any Nehalem CPU with "vme" feature would be detected as
      Nehalem-IBRS CPU without spec-ctrl. Not adding "vme" to Nehalem-IBRS is
      safe as QEMU will just provide the feature anyway, which matches what
      happens with Nehalem (and new enough machine types).
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
      6b7e7d1c
    • P
      cpu: add CPU features for indirect branch prediction protection · 8b605530
      Paolo Bonzini 提交于
      Added in QEMU commits TBD and TBD.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
      8b605530
  2. 03 11月, 2017 1 次提交
  3. 18 9月, 2017 2 次提交
  4. 07 9月, 2017 1 次提交
  5. 04 8月, 2017 1 次提交
  6. 09 5月, 2017 1 次提交
  7. 06 12月, 2016 1 次提交
  8. 05 12月, 2016 1 次提交
  9. 30 11月, 2016 2 次提交
  10. 25 6月, 2016 1 次提交
    • Q
      cpu_map.xml: add cmt/mbm feature to x86 · f294b83e
      Qiaowei Ren 提交于
      Some Intel processor families (e.g. the Intel Xeon processor E5 v3
      family) introduced some PQos (Platform Qos) features, including CMT
      (Cache Monitoring technology) and MBM (Memory Bandwidth Monitoring),
      to monitor or control shared resource. This patch add them into x86
      part of cpu_map.xml to be used for applications based on libvirt to
      get cpu capabilities. For example, Nova in OpenStack schedules guests
      based on the CPU features that the host has.
      Signed-off-by: NQiaowei Ren <qiaowei.ren@intel.com>
      f294b83e
  11. 17 6月, 2016 2 次提交
    • J
      cpu_x86: Use signature in CPU detection code · 5a9221b9
      Jiri Denemark 提交于
      Our current detection code uses just the number of CPU features which
      need to be added/removed from the CPU model to fully describe the CPUID
      data. The smallest number wins. But this may sometimes generate wrong
      results as one can see from the fixed test cases. This patch modifies
      the algorithm to prefer the CPU model with matching signature even if
      this model results in a longer list of additional features.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      5a9221b9
    • J
      cpu: Add Skylake-Client x86 CPU model · 2f3ccdf0
      Jiri Denemark 提交于
      The CPU model was implemented in QEMU by commit f6f949e929.
      
      The change to i7-5600U is wrong since it's a 5th generation CPU, i.e.,
      Broadwell rather than Skylake, but that's just the result of our CPU
      detection code (which is fixed by the following commit).
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      2f3ccdf0
  12. 09 6月, 2016 6 次提交
  13. 16 5月, 2016 1 次提交
  14. 07 9月, 2015 1 次提交
  15. 11 8月, 2015 4 次提交
  16. 10 7月, 2015 1 次提交
  17. 02 7月, 2015 6 次提交