From 6d4a3cd42781babed7d29b061e220ebff24dd43e Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Mon, 8 Jan 2018 20:53:25 +0100 Subject: [PATCH] cpu: Add EPYC-IBPB CPU model This is a variant of EPYC with indirect branch prediction protection. The only difference between EPYC and EPYC-IBPB is the added "ibpb" feature. Signed-off-by: Jiri Denemark Reviewed-by: Pavel Hrdina --- src/cpu/cpu_map.xml | 72 +++++++++++++++++++ ..._64-cpuid-EPYC-7601-32-Core-ibpb-guest.xml | 3 +- ...6_64-cpuid-EPYC-7601-32-Core-ibpb-host.xml | 3 +- ...6_64-cpuid-EPYC-7601-32-Core-ibpb-json.xml | 3 +- 4 files changed, 75 insertions(+), 6 deletions(-) diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml index 25289d94ed..85c728227f 100644 --- a/src/cpu/cpu_map.xml +++ b/src/cpu/cpu_map.xml @@ -2250,6 +2250,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-ibpb-guest.xml b/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-ibpb-guest.xml index 33eb8bd1f5..1d772977a4 100644 --- a/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-ibpb-guest.xml +++ b/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-ibpb-guest.xml @@ -1,5 +1,5 @@ - EPYC + EPYC-IBPB AMD @@ -13,6 +13,5 @@ - diff --git a/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-ibpb-host.xml b/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-ibpb-host.xml index fa66113c68..c14e254334 100644 --- a/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-ibpb-host.xml +++ b/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-ibpb-host.xml @@ -1,6 +1,6 @@ x86_64 - EPYC + EPYC-IBPB AMD @@ -14,5 +14,4 @@ - diff --git a/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-ibpb-json.xml b/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-ibpb-json.xml index 81c09c32a7..c4e34a0fa1 100644 --- a/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-ibpb-json.xml +++ b/tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-ibpb-json.xml @@ -1,12 +1,11 @@ - EPYC + EPYC-IBPB AMD - -- GitLab