[libvirt PATCH 0/4] cpu_map: Add some missing x86 features

Jiri Denemark posted 4 patches 3 years, 10 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1592401703.git.jdenemar@redhat.com
src/cpu_map/x86_features.xml                  | 57 +++++++++++++++++++
.../x86_64-cpuid-A10-5800K-disabled.xml       |  1 +
.../x86_64-cpuid-A10-5800K-enabled.xml        |  1 +
.../x86_64-cpuid-A10-5800K-guest.xml          | 10 ++++
.../x86_64-cpuid-A10-5800K-host.xml           | 10 ++++
.../x86_64-cpuid-A10-5800K-json.xml           |  2 +
.../x86_64-cpuid-Cooperlake-enabled.xml       |  2 +-
.../x86_64-cpuid-Cooperlake-json.xml          |  1 +
.../x86_64-cpuid-Core-i5-6600-disabled.xml    |  1 +
...6_64-cpuid-Core-i7-5600U-arat-disabled.xml |  1 +
.../x86_64-cpuid-Core-i7-5600U-disabled.xml   |  1 +
...6_64-cpuid-Core-i7-5600U-ibrs-disabled.xml |  2 +-
.../x86_64-cpuid-Core-i7-7700-disabled.xml    |  1 +
...86_64-cpuid-EPYC-7601-32-Core-disabled.xml |  2 +
...x86_64-cpuid-EPYC-7601-32-Core-enabled.xml |  1 +
.../x86_64-cpuid-EPYC-7601-32-Core-guest.xml  | 11 ++++
.../x86_64-cpuid-EPYC-7601-32-Core-host.xml   | 11 ++++
...-cpuid-EPYC-7601-32-Core-ibpb-disabled.xml |  2 +
...4-cpuid-EPYC-7601-32-Core-ibpb-enabled.xml |  1 +
..._64-cpuid-EPYC-7601-32-Core-ibpb-guest.xml | 11 ++++
...6_64-cpuid-EPYC-7601-32-Core-ibpb-host.xml | 11 ++++
...6_64-cpuid-EPYC-7601-32-Core-ibpb-json.xml |  2 +
.../x86_64-cpuid-EPYC-7601-32-Core-json.xml   |  2 +
.../x86_64-cpuid-FX-8150-guest.xml            | 10 ++++
.../cputestdata/x86_64-cpuid-FX-8150-host.xml | 10 ++++
...-cpuid-Hygon-C86-7185-32-core-disabled.xml |  2 +
...4-cpuid-Hygon-C86-7185-32-core-enabled.xml |  1 +
..._64-cpuid-Hygon-C86-7185-32-core-guest.xml | 11 ++++
...6_64-cpuid-Hygon-C86-7185-32-core-host.xml | 11 ++++
...6_64-cpuid-Hygon-C86-7185-32-core-json.xml |  2 +
.../x86_64-cpuid-Ice-Lake-Server-disabled.xml |  2 +-
.../x86_64-cpuid-Ice-Lake-Server-guest.xml    |  1 +
.../x86_64-cpuid-Ice-Lake-Server-host.xml     |  1 +
.../x86_64-cpuid-Opteron-1352-guest.xml       |  3 +
.../x86_64-cpuid-Opteron-1352-host.xml        |  3 +
.../x86_64-cpuid-Opteron-2350-disabled.xml    |  1 +
.../x86_64-cpuid-Opteron-2350-enabled.xml     |  1 +
.../x86_64-cpuid-Opteron-2350-guest.xml       |  3 +
.../x86_64-cpuid-Opteron-2350-host.xml        |  3 +
.../x86_64-cpuid-Opteron-2350-json.xml        |  1 +
.../x86_64-cpuid-Opteron-6234-disabled.xml    |  1 +
.../x86_64-cpuid-Opteron-6234-enabled.xml     |  1 +
.../x86_64-cpuid-Opteron-6234-guest.xml       | 10 ++++
.../x86_64-cpuid-Opteron-6234-host.xml        | 10 ++++
.../x86_64-cpuid-Opteron-6234-json.xml        |  2 +
.../x86_64-cpuid-Opteron-6282-guest.xml       | 10 ++++
.../x86_64-cpuid-Opteron-6282-host.xml        | 10 ++++
.../x86_64-cpuid-Phenom-B95-disabled.xml      |  1 +
.../x86_64-cpuid-Phenom-B95-enabled.xml       |  1 +
.../x86_64-cpuid-Phenom-B95-guest.xml         |  4 ++
.../x86_64-cpuid-Phenom-B95-host.xml          |  4 ++
.../x86_64-cpuid-Phenom-B95-json.xml          |  2 +
...puid-Ryzen-7-1800X-Eight-Core-disabled.xml |  2 +
...cpuid-Ryzen-7-1800X-Eight-Core-enabled.xml |  1 +
...4-cpuid-Ryzen-7-1800X-Eight-Core-guest.xml | 11 ++++
...64-cpuid-Ryzen-7-1800X-Eight-Core-host.xml | 11 ++++
...64-cpuid-Ryzen-7-1800X-Eight-Core-json.xml |  2 +
...4-cpuid-Ryzen-9-3900X-12-Core-disabled.xml |  2 +
...64-cpuid-Ryzen-9-3900X-12-Core-enabled.xml |  5 +-
...6_64-cpuid-Ryzen-9-3900X-12-Core-guest.xml | 13 +++++
...86_64-cpuid-Ryzen-9-3900X-12-Core-host.xml | 13 +++++
...86_64-cpuid-Ryzen-9-3900X-12-Core-json.xml |  4 ++
.../x86_64-cpuid-Xeon-E3-1245-v5-disabled.xml |  1 +
.../x86_64-cpuid-Xeon-E5-2623-v4-disabled.xml |  2 +-
.../x86_64-cpuid-Xeon-E5-2650-v4-disabled.xml |  2 +-
.../x86_64-cpuid-Xeon-Gold-5115-disabled.xml  |  2 +-
.../x86_64-cpuid-Xeon-Gold-6148-disabled.xml  |  2 +-
...6_64-cpuid-Xeon-Platinum-8268-disabled.xml |  3 +-
.../domaincapsdata/qemu_3.0.0-tcg.x86_64.xml  |  1 +
.../domaincapsdata/qemu_3.1.0-tcg.x86_64.xml  |  1 +
.../domaincapsdata/qemu_4.0.0-tcg.x86_64.xml  |  2 +
.../domaincapsdata/qemu_4.1.0-tcg.x86_64.xml  |  2 +
.../domaincapsdata/qemu_4.2.0-tcg.x86_64.xml  |  2 +
.../domaincapsdata/qemu_5.0.0-tcg.x86_64.xml  |  2 +
.../domaincapsdata/qemu_5.1.0-q35.x86_64.xml  |  5 ++
.../domaincapsdata/qemu_5.1.0-tcg.x86_64.xml  |  2 +
tests/domaincapsdata/qemu_5.1.0.x86_64.xml    |  5 ++
.../cpu-host-model-cmt.x86_64-4.0.0.args      |  6 +-
78 files changed, 357 insertions(+), 13 deletions(-)
[libvirt PATCH 0/4] cpu_map: Add some missing x86 features
Posted by Jiri Denemark 3 years, 10 months ago
The features were added to QEMU long ago.

Jiri Denemark (4):
  cpu_map: Request test files update when adding x86 features
  cpu_map: Add missing x86 features in 0x7 CPUID leaf
  cpu_map: Add missing x86 features in 0x80000008 CPUID leaf
  cpu_map: Add missing AMD SVM features

 src/cpu_map/x86_features.xml                  | 57 +++++++++++++++++++
 .../x86_64-cpuid-A10-5800K-disabled.xml       |  1 +
 .../x86_64-cpuid-A10-5800K-enabled.xml        |  1 +
 .../x86_64-cpuid-A10-5800K-guest.xml          | 10 ++++
 .../x86_64-cpuid-A10-5800K-host.xml           | 10 ++++
 .../x86_64-cpuid-A10-5800K-json.xml           |  2 +
 .../x86_64-cpuid-Cooperlake-enabled.xml       |  2 +-
 .../x86_64-cpuid-Cooperlake-json.xml          |  1 +
 .../x86_64-cpuid-Core-i5-6600-disabled.xml    |  1 +
 ...6_64-cpuid-Core-i7-5600U-arat-disabled.xml |  1 +
 .../x86_64-cpuid-Core-i7-5600U-disabled.xml   |  1 +
 ...6_64-cpuid-Core-i7-5600U-ibrs-disabled.xml |  2 +-
 .../x86_64-cpuid-Core-i7-7700-disabled.xml    |  1 +
 ...86_64-cpuid-EPYC-7601-32-Core-disabled.xml |  2 +
 ...x86_64-cpuid-EPYC-7601-32-Core-enabled.xml |  1 +
 .../x86_64-cpuid-EPYC-7601-32-Core-guest.xml  | 11 ++++
 .../x86_64-cpuid-EPYC-7601-32-Core-host.xml   | 11 ++++
 ...-cpuid-EPYC-7601-32-Core-ibpb-disabled.xml |  2 +
 ...4-cpuid-EPYC-7601-32-Core-ibpb-enabled.xml |  1 +
 ..._64-cpuid-EPYC-7601-32-Core-ibpb-guest.xml | 11 ++++
 ...6_64-cpuid-EPYC-7601-32-Core-ibpb-host.xml | 11 ++++
 ...6_64-cpuid-EPYC-7601-32-Core-ibpb-json.xml |  2 +
 .../x86_64-cpuid-EPYC-7601-32-Core-json.xml   |  2 +
 .../x86_64-cpuid-FX-8150-guest.xml            | 10 ++++
 .../cputestdata/x86_64-cpuid-FX-8150-host.xml | 10 ++++
 ...-cpuid-Hygon-C86-7185-32-core-disabled.xml |  2 +
 ...4-cpuid-Hygon-C86-7185-32-core-enabled.xml |  1 +
 ..._64-cpuid-Hygon-C86-7185-32-core-guest.xml | 11 ++++
 ...6_64-cpuid-Hygon-C86-7185-32-core-host.xml | 11 ++++
 ...6_64-cpuid-Hygon-C86-7185-32-core-json.xml |  2 +
 .../x86_64-cpuid-Ice-Lake-Server-disabled.xml |  2 +-
 .../x86_64-cpuid-Ice-Lake-Server-guest.xml    |  1 +
 .../x86_64-cpuid-Ice-Lake-Server-host.xml     |  1 +
 .../x86_64-cpuid-Opteron-1352-guest.xml       |  3 +
 .../x86_64-cpuid-Opteron-1352-host.xml        |  3 +
 .../x86_64-cpuid-Opteron-2350-disabled.xml    |  1 +
 .../x86_64-cpuid-Opteron-2350-enabled.xml     |  1 +
 .../x86_64-cpuid-Opteron-2350-guest.xml       |  3 +
 .../x86_64-cpuid-Opteron-2350-host.xml        |  3 +
 .../x86_64-cpuid-Opteron-2350-json.xml        |  1 +
 .../x86_64-cpuid-Opteron-6234-disabled.xml    |  1 +
 .../x86_64-cpuid-Opteron-6234-enabled.xml     |  1 +
 .../x86_64-cpuid-Opteron-6234-guest.xml       | 10 ++++
 .../x86_64-cpuid-Opteron-6234-host.xml        | 10 ++++
 .../x86_64-cpuid-Opteron-6234-json.xml        |  2 +
 .../x86_64-cpuid-Opteron-6282-guest.xml       | 10 ++++
 .../x86_64-cpuid-Opteron-6282-host.xml        | 10 ++++
 .../x86_64-cpuid-Phenom-B95-disabled.xml      |  1 +
 .../x86_64-cpuid-Phenom-B95-enabled.xml       |  1 +
 .../x86_64-cpuid-Phenom-B95-guest.xml         |  4 ++
 .../x86_64-cpuid-Phenom-B95-host.xml          |  4 ++
 .../x86_64-cpuid-Phenom-B95-json.xml          |  2 +
 ...puid-Ryzen-7-1800X-Eight-Core-disabled.xml |  2 +
 ...cpuid-Ryzen-7-1800X-Eight-Core-enabled.xml |  1 +
 ...4-cpuid-Ryzen-7-1800X-Eight-Core-guest.xml | 11 ++++
 ...64-cpuid-Ryzen-7-1800X-Eight-Core-host.xml | 11 ++++
 ...64-cpuid-Ryzen-7-1800X-Eight-Core-json.xml |  2 +
 ...4-cpuid-Ryzen-9-3900X-12-Core-disabled.xml |  2 +
 ...64-cpuid-Ryzen-9-3900X-12-Core-enabled.xml |  5 +-
 ...6_64-cpuid-Ryzen-9-3900X-12-Core-guest.xml | 13 +++++
 ...86_64-cpuid-Ryzen-9-3900X-12-Core-host.xml | 13 +++++
 ...86_64-cpuid-Ryzen-9-3900X-12-Core-json.xml |  4 ++
 .../x86_64-cpuid-Xeon-E3-1245-v5-disabled.xml |  1 +
 .../x86_64-cpuid-Xeon-E5-2623-v4-disabled.xml |  2 +-
 .../x86_64-cpuid-Xeon-E5-2650-v4-disabled.xml |  2 +-
 .../x86_64-cpuid-Xeon-Gold-5115-disabled.xml  |  2 +-
 .../x86_64-cpuid-Xeon-Gold-6148-disabled.xml  |  2 +-
 ...6_64-cpuid-Xeon-Platinum-8268-disabled.xml |  3 +-
 .../domaincapsdata/qemu_3.0.0-tcg.x86_64.xml  |  1 +
 .../domaincapsdata/qemu_3.1.0-tcg.x86_64.xml  |  1 +
 .../domaincapsdata/qemu_4.0.0-tcg.x86_64.xml  |  2 +
 .../domaincapsdata/qemu_4.1.0-tcg.x86_64.xml  |  2 +
 .../domaincapsdata/qemu_4.2.0-tcg.x86_64.xml  |  2 +
 .../domaincapsdata/qemu_5.0.0-tcg.x86_64.xml  |  2 +
 .../domaincapsdata/qemu_5.1.0-q35.x86_64.xml  |  5 ++
 .../domaincapsdata/qemu_5.1.0-tcg.x86_64.xml  |  2 +
 tests/domaincapsdata/qemu_5.1.0.x86_64.xml    |  5 ++
 .../cpu-host-model-cmt.x86_64-4.0.0.args      |  6 +-
 78 files changed, 357 insertions(+), 13 deletions(-)

-- 
2.27.0

Re: [libvirt PATCH 0/4] cpu_map: Add some missing x86 features
Posted by Daniel P. Berrangé 3 years, 10 months ago
On Wed, Jun 17, 2020 at 04:18:50PM +0200, Jiri Denemark wrote:
> The features were added to QEMU long ago.
> 
> Jiri Denemark (4):
>   cpu_map: Request test files update when adding x86 features
>   cpu_map: Add missing x86 features in 0x7 CPUID leaf
>   cpu_map: Add missing x86 features in 0x80000008 CPUID leaf
>   cpu_map: Add missing AMD SVM features

FWIW, we've got a few missing CPU models too -  Denverton, EPYC-Rome,
KnightsMill and Snowridge.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

Re: [libvirt PATCH 0/4] cpu_map: Add some missing x86 features
Posted by Daniel P. Berrangé 3 years, 10 months ago
On Wed, Jun 17, 2020 at 04:18:50PM +0200, Jiri Denemark wrote:
> The features were added to QEMU long ago.
> 
> Jiri Denemark (4):
>   cpu_map: Request test files update when adding x86 features
>   cpu_map: Add missing x86 features in 0x7 CPUID leaf
>   cpu_map: Add missing x86 features in 0x80000008 CPUID leaf
>   cpu_map: Add missing AMD SVM features

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|