From 24d504396c3c05eff87d29173a224e2faaeb2637 Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Tue, 9 Jan 2018 21:47:29 +0100 Subject: [PATCH] cpu: Add Skylake-Server-IBRS CPU model This is a variant of Skylake-Server with indirect branch prediction protection. The only difference between Skylake-Server and Skylake-Server-IBRS is the added "spec-ctrl" feature. Signed-off-by: Jiri Denemark Reviewed-by: Pavel Hrdina --- src/cpu/cpu_map.xml | 76 +++++++++++++++++++ .../x86_64-cpuid-Xeon-Gold-5115-guest.xml | 3 +- .../x86_64-cpuid-Xeon-Gold-5115-host.xml | 3 +- .../x86_64-cpuid-Xeon-Gold-5115-json.xml | 3 +- 4 files changed, 79 insertions(+), 6 deletions(-) diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml index ccc01ba0b0..25289d94ed 100644 --- a/src/cpu/cpu_map.xml +++ b/src/cpu/cpu_map.xml @@ -1837,6 +1837,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-guest.xml b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-guest.xml index 5a7f3beee8..5f51dea631 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-guest.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-guest.xml @@ -1,5 +1,5 @@ - Skylake-Server + Skylake-Server-IBRS Intel @@ -22,7 +22,6 @@ - diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-host.xml b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-host.xml index 15f2fa72d5..a11b31369d 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-host.xml @@ -1,6 +1,6 @@ x86_64 - Skylake-Server + Skylake-Server-IBRS Intel @@ -23,7 +23,6 @@ - diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-json.xml b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-json.xml index 866528c957..7c7e95ce0d 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-json.xml @@ -1,9 +1,8 @@ - Skylake-Server + Skylake-Server-IBRS Intel - -- 2.47.2