From 1c8af21807f2cdaaa24651808f6dfeebfbcf75bb Mon Sep 17 00:00:00 2001 Message-Id: <1c8af21807f2cdaaa24651808f6dfeebfbcf75bb@dist-git> From: Jiri Denemark Date: Tue, 26 May 2020 10:59:40 +0200 Subject: [PATCH] cpu_map: Add Cooperlake x86 CPU model MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The stepping range (10-11) is likely incomplete. QEMU uses 10 and the CPUID data for Cooperlake show 11. We will update the range if needed once more details about he CPU are available. Signed-off-by: Jiri Denemark Reviewed-by: Pavel Hrdina (cherry picked from commit 3944f6855b9d4df73754bb6e5c8023d77399879b) https://bugzilla.redhat.com/show_bug.cgi?id=1781878 Conflicts: tests/domaincapsdata/qemu_5.1.0-q35.x86_64.xml tests/domaincapsdata/qemu_5.1.0-tcg.x86_64.xml tests/domaincapsdata/qemu_5.1.0.x86_64.xml - test data files do not exist downstream Signed-off-by: Jiri Denemark Message-Id: <62f2fa3e2ecab2026c41e93430b4e2b695c674f0.1590483392.git.jdenemar@redhat.com> Reviewed-by: Ján Tomko --- src/cpu_map/index.xml | 1 + src/cpu_map/x86_Cooperlake.xml | 90 +++++++++++++++++++ .../x86_64-cpuid-Cooperlake-guest.xml | 13 +-- .../x86_64-cpuid-Cooperlake-host.xml | 13 +-- .../x86_64-cpuid-Cooperlake-json.xml | 13 +-- .../domaincapsdata/qemu_5.0.0-q35.x86_64.xml | 1 + .../domaincapsdata/qemu_5.0.0-tcg.x86_64.xml | 1 + tests/domaincapsdata/qemu_5.0.0.x86_64.xml | 1 + 8 files changed, 100 insertions(+), 33 deletions(-) create mode 100644 src/cpu_map/x86_Cooperlake.xml diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml index 50b030de29..ff1da2e677 100644 --- a/src/cpu_map/index.xml +++ b/src/cpu_map/index.xml @@ -54,6 +54,7 @@ + diff --git a/src/cpu_map/x86_Cooperlake.xml b/src/cpu_map/x86_Cooperlake.xml new file mode 100644 index 0000000000..41bd210638 --- /dev/null +++ b/src/cpu_map/x86_Cooperlake.xml @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-guest.xml b/tests/cputestdata/x86_64-cpuid-Cooperlake-guest.xml index db5598740c..f169458399 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-guest.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-guest.xml @@ -1,5 +1,5 @@ - Cascadelake-Server + Cooperlake Intel @@ -20,22 +20,13 @@ + - - - - - - - - - - diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-host.xml b/tests/cputestdata/x86_64-cpuid-Cooperlake-host.xml index 6926b7c975..b0777181bb 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-host.xml @@ -1,6 +1,6 @@ x86_64 - Cascadelake-Server + Cooperlake Intel @@ -21,22 +21,13 @@ + - - - - - - - - - - diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml b/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml index fc52805b2f..fb319d547c 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml @@ -1,24 +1,15 @@ - Cascadelake-Server + Cooperlake Intel + - - - - - - - - - - diff --git a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml b/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml index b7e2c8a4fe..7bfd786ff6 100644 --- a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml @@ -93,6 +93,7 @@ EPYC-IBPB EPYC Dhyana + Cooperlake Conroe Cascadelake-Server-noTSX Cascadelake-Server diff --git a/tests/domaincapsdata/qemu_5.0.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_5.0.0-tcg.x86_64.xml index d634803b29..0a4bb16a89 100644 --- a/tests/domaincapsdata/qemu_5.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0-tcg.x86_64.xml @@ -101,6 +101,7 @@ EPYC-IBPB EPYC Dhyana + Cooperlake Conroe Cascadelake-Server-noTSX Cascadelake-Server diff --git a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml b/tests/domaincapsdata/qemu_5.0.0.x86_64.xml index d2741375b4..d6ee66ab60 100644 --- a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0.x86_64.xml @@ -92,6 +92,7 @@ EPYC-IBPB EPYC Dhyana + Cooperlake Conroe Cascadelake-Server-noTSX Cascadelake-Server -- 2.26.2