From 3944f6855b9d4df73754bb6e5c8023d77399879b Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Tue, 19 May 2020 15:08:11 +0200 Subject: [PATCH] cpu_map: Add Cooperlake x86 CPU model 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 --- 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 + .../domaincapsdata/qemu_5.1.0-q35.x86_64.xml | 1 + .../domaincapsdata/qemu_5.1.0-tcg.x86_64.xml | 1 + tests/domaincapsdata/qemu_5.1.0.x86_64.xml | 1 + 11 files changed, 103 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 20646a031c..1486a29c65 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 ff721530cd..fa945fc002 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 d567863f49..a0eeed7c2d 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 2c6066003d..fbde7a6ba2 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 diff --git a/tests/domaincapsdata/qemu_5.1.0-q35.x86_64.xml b/tests/domaincapsdata/qemu_5.1.0-q35.x86_64.xml index 9e484ccfd0..e152f7dec5 100644 --- a/tests/domaincapsdata/qemu_5.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.1.0-q35.x86_64.xml @@ -100,6 +100,7 @@ EPYC-IBPB EPYC Dhyana + Cooperlake Conroe Cascadelake-Server-noTSX Cascadelake-Server diff --git a/tests/domaincapsdata/qemu_5.1.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_5.1.0-tcg.x86_64.xml index d567863f49..a0eeed7c2d 100644 --- a/tests/domaincapsdata/qemu_5.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.1.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.1.0.x86_64.xml b/tests/domaincapsdata/qemu_5.1.0.x86_64.xml index b48cb45412..bc842730a0 100644 --- a/tests/domaincapsdata/qemu_5.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.1.0.x86_64.xml @@ -99,6 +99,7 @@ EPYC-IBPB EPYC Dhyana + Cooperlake Conroe Cascadelake-Server-noTSX Cascadelake-Server