From 5faffbc5141f91e2a7d1f9ccf8195756c789d1b5 Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Tue, 22 Oct 2024 11:48:14 +0200 Subject: [PATCH] cpu_map: Add versions of SapphireRapids CPU model MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrangé --- src/cpu_map/index.xml | 3 + src/cpu_map/meson.build | 3 + src/cpu_map/x86_SapphireRapids-v1.xml | 6 + src/cpu_map/x86_SapphireRapids-v2.xml | 193 +++++++++++++++++ src/cpu_map/x86_SapphireRapids-v3.xml | 198 ++++++++++++++++++ .../domaincapsdata/qemu_8.0.0-q35.x86_64.xml | 43 +++- .../domaincapsdata/qemu_8.0.0-tcg.x86_64.xml | 50 ++++- tests/domaincapsdata/qemu_8.0.0.x86_64.xml | 43 +++- .../domaincapsdata/qemu_8.1.0-q35.x86_64.xml | 89 +++++++- .../domaincapsdata/qemu_8.1.0-tcg.x86_64.xml | 78 ++++++- tests/domaincapsdata/qemu_8.1.0.x86_64.xml | 89 +++++++- .../domaincapsdata/qemu_8.2.0-q35.x86_64.xml | 89 +++++++- .../domaincapsdata/qemu_8.2.0-tcg.x86_64.xml | 76 ++++++- tests/domaincapsdata/qemu_8.2.0.x86_64.xml | 89 +++++++- .../domaincapsdata/qemu_9.0.0-q35.x86_64.xml | 89 +++++++- .../domaincapsdata/qemu_9.0.0-tcg.x86_64.xml | 74 ++++++- tests/domaincapsdata/qemu_9.0.0.x86_64.xml | 89 +++++++- .../domaincapsdata/qemu_9.1.0-q35.x86_64.xml | 138 +++++++++++- .../domaincapsdata/qemu_9.1.0-tcg.x86_64.xml | 114 +++++++++- tests/domaincapsdata/qemu_9.1.0.x86_64.xml | 138 +++++++++++- .../domaincapsdata/qemu_9.2.0-q35.x86_64.xml | 138 +++++++++++- .../domaincapsdata/qemu_9.2.0-tcg.x86_64.xml | 114 +++++++++- tests/domaincapsdata/qemu_9.2.0.x86_64.xml | 138 +++++++++++- 23 files changed, 2063 insertions(+), 18 deletions(-) create mode 100644 src/cpu_map/x86_SapphireRapids-v1.xml create mode 100644 src/cpu_map/x86_SapphireRapids-v2.xml create mode 100644 src/cpu_map/x86_SapphireRapids-v3.xml diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml index 42ea986670..81cdea3441 100644 --- a/src/cpu_map/index.xml +++ b/src/cpu_map/index.xml @@ -60,6 +60,9 @@ + + + diff --git a/src/cpu_map/meson.build b/src/cpu_map/meson.build index 3733ec9441..b023ed03c4 100644 --- a/src/cpu_map/meson.build +++ b/src/cpu_map/meson.build @@ -75,6 +75,9 @@ cpumap_data = [ 'x86_qemu64.xml', 'x86_SandyBridge-IBRS.xml', 'x86_SandyBridge.xml', + 'x86_SapphireRapids-v1.xml', + 'x86_SapphireRapids-v2.xml', + 'x86_SapphireRapids-v3.xml', 'x86_SapphireRapids.xml', 'x86_SierraForest-v1.xml', 'x86_SierraForest.xml', diff --git a/src/cpu_map/x86_SapphireRapids-v1.xml b/src/cpu_map/x86_SapphireRapids-v1.xml new file mode 100644 index 0000000000..46466d02b6 --- /dev/null +++ b/src/cpu_map/x86_SapphireRapids-v1.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/cpu_map/x86_SapphireRapids-v2.xml b/src/cpu_map/x86_SapphireRapids-v2.xml new file mode 100644 index 0000000000..198bed0afc --- /dev/null +++ b/src/cpu_map/x86_SapphireRapids-v2.xml @@ -0,0 +1,193 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/cpu_map/x86_SapphireRapids-v3.xml b/src/cpu_map/x86_SapphireRapids-v3.xml new file mode 100644 index 0000000000..e02d5fd562 --- /dev/null +++ b/src/cpu_map/x86_SapphireRapids-v3.xml @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml b/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml index 3ba9419ede..c1776af083 100644 --- a/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml @@ -275,7 +275,7 @@ - SapphireRapids + SapphireRapids @@ -316,6 +316,47 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml index e5ef1673c3..d6f4e79806 100644 --- a/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml @@ -405,7 +405,7 @@ - SapphireRapids + SapphireRapids @@ -453,6 +453,54 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_8.0.0.x86_64.xml b/tests/domaincapsdata/qemu_8.0.0.x86_64.xml index 9b935c0a6b..27beded8ea 100644 --- a/tests/domaincapsdata/qemu_8.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0.x86_64.xml @@ -274,7 +274,7 @@ - SapphireRapids + SapphireRapids @@ -315,6 +315,47 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml b/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml index c5663a2c4c..ce04180999 100644 --- a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml @@ -409,7 +409,7 @@ - SapphireRapids + SapphireRapids @@ -451,6 +451,93 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml index d6e03061cf..1836c786dc 100644 --- a/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml @@ -480,7 +480,7 @@ - SapphireRapids + SapphireRapids @@ -518,6 +518,82 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_8.1.0.x86_64.xml b/tests/domaincapsdata/qemu_8.1.0.x86_64.xml index bfb8bb9f69..c64f62b14e 100644 --- a/tests/domaincapsdata/qemu_8.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0.x86_64.xml @@ -408,7 +408,7 @@ - SapphireRapids + SapphireRapids @@ -450,6 +450,93 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml b/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml index 403ae5d32e..ab3d52deb2 100644 --- a/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml @@ -410,7 +410,7 @@ - SapphireRapids + SapphireRapids @@ -452,6 +452,93 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml index 85d286e825..2d22fd32dd 100644 --- a/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml @@ -472,7 +472,7 @@ - SapphireRapids + SapphireRapids @@ -509,6 +509,80 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_8.2.0.x86_64.xml b/tests/domaincapsdata/qemu_8.2.0.x86_64.xml index d2b1c536a0..a9b5f5efcb 100644 --- a/tests/domaincapsdata/qemu_8.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0.x86_64.xml @@ -409,7 +409,7 @@ - SapphireRapids + SapphireRapids @@ -451,6 +451,93 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml b/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml index ce6c0a3aac..705e61e950 100644 --- a/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml @@ -410,7 +410,7 @@ - SapphireRapids + SapphireRapids @@ -452,6 +452,93 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml index 8da817381c..65ce9690a2 100644 --- a/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml @@ -455,7 +455,7 @@ - SapphireRapids + SapphireRapids @@ -491,6 +491,78 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_9.0.0.x86_64.xml b/tests/domaincapsdata/qemu_9.0.0.x86_64.xml index ec8520f416..062f47aa34 100644 --- a/tests/domaincapsdata/qemu_9.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0.x86_64.xml @@ -409,7 +409,7 @@ - SapphireRapids + SapphireRapids @@ -451,6 +451,93 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml b/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml index 84558b42c0..889d50f4ca 100644 --- a/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml @@ -414,7 +414,7 @@ - SapphireRapids + SapphireRapids @@ -456,6 +456,142 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SierraForest diff --git a/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml index ff726ddf51..f180ad3f9f 100644 --- a/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml @@ -454,7 +454,7 @@ - SapphireRapids + SapphireRapids @@ -490,6 +490,118 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SierraForest diff --git a/tests/domaincapsdata/qemu_9.1.0.x86_64.xml b/tests/domaincapsdata/qemu_9.1.0.x86_64.xml index 20e5903f22..81aeb37353 100644 --- a/tests/domaincapsdata/qemu_9.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0.x86_64.xml @@ -413,7 +413,7 @@ - SapphireRapids + SapphireRapids @@ -455,6 +455,142 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SierraForest diff --git a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml b/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml index 0fb60d2e9e..7201a84435 100644 --- a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml @@ -414,7 +414,7 @@ - SapphireRapids + SapphireRapids @@ -456,6 +456,142 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SierraForest diff --git a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml index 57c4d2f2a6..958f389aa6 100644 --- a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml @@ -454,7 +454,7 @@ - SapphireRapids + SapphireRapids @@ -490,6 +490,118 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SierraForest diff --git a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml b/tests/domaincapsdata/qemu_9.2.0.x86_64.xml index da9a1b8027..ade2798f6a 100644 --- a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0.x86_64.xml @@ -413,7 +413,7 @@ - SapphireRapids + SapphireRapids @@ -455,6 +455,142 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SierraForest