[libvirt PATCH 00/39] Distinguish Cascadelake-Server from Skylake-Server

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

 



The signatures of these two CPU model differ only in stepping as both
report family 6 and model 85. Skylake-Server uses stepping 4 or less and
Cascadelake-Server uses stepping 5..7.

https://bugzilla.redhat.com/show_bug.cgi?id=1761678

Jiri Denemark (39):
  cpu_x86: Drop noTSX hint for incompatible CPUs
  cpu_x86: Use glib allocation for virCPU{,x86}Data
  cpu_x86: Use glib allocation for virCPUx86Vendor
  cpu_x86: Use glib allocation for virCPUx86Feature
  cpu_x86: Use glib allocation for virCPUx86Model
  cpu_x86: Use glib allocation for virCPUx86Map
  cpu_x86: Use glib allocation in virCPUx86GetModels
  cpu_x86: Use g_auto* in x86DataToCPU
  cpu_x86: Use g_auto* in x86VendorParse
  cpu_x86: Use g_auto* in x86FeatureParse
  cpu_x86: Use g_auto* in x86ModelFromCPU
  cpu_x86: Use g_auto* in x86ModelParse
  cpu_x86: Use g_auto* in virCPUx86LoadMap
  cpu_x86: Use g_auto* in virCPUx86DataParse
  cpu_x86: Use g_auto* in x86Compute
  cpu_x86: Use g_auto* in virCPUx86Compare
  cpu_x86: Use g_auto* in x86Decode
  cpu_x86: Use g_auto* in x86EncodePolicy
  cpu_x86: Use g_auto* in x86Encode
  cpu_x86: Use g_auto* in virCPUx86CheckFeature
  cpu_x86: Use g_auto* in virCPUx86GetHost
  cpu_x86: Use g_auto* in virCPUx86Baseline
  cpu_x86: Use g_auto* in x86UpdateHostModel
  cpu_x86: Use g_auto* in virCPUx86Update
  cpu_x86: Use g_auto* in virCPUx86UpdateLive
  cpu_x86: Use g_auto* in virCPUx86Translate
  cpu_x86: Use g_auto* in virCPUx86ExpandFeatures
  cpu_x86: Use g_auto* in virCPUx86CopyMigratable
  cpu_x86: Move and rename x86ModelCopySignatures
  cpu_x86: Move and rename x86ModelHasSignature
  cpu_x86: Move and rename x86FormatSignatures
  cpu_x86: Introduce virCPUx86SignaturesFree
  cpu_x86: Introduce virCPUx86SignatureFromCPUID
  cpu_x86: Replace 32b signatures in virCPUx86Model with a struct
  cpu_x86: Don't check return value of x86ModelCopy
  cpu_x86: Add support for stepping part of CPU signature
  cputest: Add data for Intel(R) Xeon(R) Platinum 9242 CPU
  cputest: Add data for Intel(R) Xeon(R) Gold 6130 CPU
  cpu_map: Distinguish Cascadelake-Server from Skylake-Server

 src/cpu/cpu_x86.c                             |  936 +++++------
 src/cpu_map/x86_Cascadelake-Server-noTSX.xml  |    2 +-
 src/cpu_map/x86_Cascadelake-Server.xml        |    2 +-
 src/cpu_map/x86_Skylake-Server-IBRS.xml       |    2 +-
 src/cpu_map/x86_Skylake-Server-noTSX-IBRS.xml |    2 +-
 src/cpu_map/x86_Skylake-Server.xml            |    2 +-
 tests/cputest.c                               |    2 +
 .../x86_64-cpuid-Xeon-Gold-6130-disabled.xml  |    7 +
 .../x86_64-cpuid-Xeon-Gold-6130-enabled.xml   |    9 +
 .../x86_64-cpuid-Xeon-Gold-6130-guest.xml     |   34 +
 .../x86_64-cpuid-Xeon-Gold-6130-host.xml      |   35 +
 .../x86_64-cpuid-Xeon-Gold-6130-json.xml      |   17 +
 .../x86_64-cpuid-Xeon-Gold-6130.json          | 1201 ++++++++++++++
 .../x86_64-cpuid-Xeon-Gold-6130.sig           |    4 +
 .../x86_64-cpuid-Xeon-Gold-6130.xml           |   54 +
 ...6_64-cpuid-Xeon-Platinum-9242-disabled.xml |    7 +
 ...86_64-cpuid-Xeon-Platinum-9242-enabled.xml |   10 +
 .../x86_64-cpuid-Xeon-Platinum-9242-guest.xml |   38 +
 .../x86_64-cpuid-Xeon-Platinum-9242-host.xml  |   39 +
 .../x86_64-cpuid-Xeon-Platinum-9242-json.xml  |   21 +
 .../x86_64-cpuid-Xeon-Platinum-9242.json      | 1405 +++++++++++++++++
 .../x86_64-cpuid-Xeon-Platinum-9242.sig       |    4 +
 .../x86_64-cpuid-Xeon-Platinum-9242.xml       |   68 +
 23 files changed, 3372 insertions(+), 529 deletions(-)
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-disabled.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-enabled.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-guest.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-host.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-json.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130.json
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130.sig
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-disabled.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-guest.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-host.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242.json
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242.sig
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242.xml

-- 
2.26.0





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux