From b2042020c32b74069fa5365b5e966537aaba8cf6 Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Tue, 9 Jan 2018 21:41:31 +0100 Subject: [PATCH] cpu: Add Skylake-Client-IBRS CPU model This is a variant of Skylake-Client with indirect branch prediction protection. The only difference between Skylake-Client and Skylake-Client-IBRS is the added "spec-ctrl" feature. Signed-off-by: Jiri Denemark Reviewed-by: Pavel Hrdina --- src/cpu/cpu_map.xml | 69 +++++++++++++++++++ .../x86_64-cpuid-Xeon-E5-2623-v4-guest.xml | 3 +- .../x86_64-cpuid-Xeon-E5-2623-v4-json.xml | 3 +- 3 files changed, 71 insertions(+), 4 deletions(-) diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml index 63b3c12ea7..ccc01ba0b0 100644 --- a/src/cpu/cpu_map.xml +++ b/src/cpu/cpu_map.xml @@ -1693,6 +1693,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-guest.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-guest.xml index 6f52bdbf21..60609f5c70 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-guest.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-guest.xml @@ -1,5 +1,5 @@ - Skylake-Client + Skylake-Client-IBRS Intel @@ -20,7 +20,6 @@ - diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-json.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-json.xml index 3bf0da3cb9..167a9028ab 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-json.xml @@ -1,10 +1,9 @@ - Skylake-Client + Skylake-Client-IBRS Intel -