From 203c92e9cc2db854199b39ef3ffcc10406d3c59e Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Mon, 8 Jan 2018 20:53:25 +0100 Subject: [PATCH] cpu: Add IvyBridge-IBRS CPU model This is a variant of IvyBridge with indirect branch prediction protection. The only difference between IvyBridge and IvyBridge-IBRS is the added "spec-ctrl" feature. The IvyBridge-IBRS model in QEMU is a bit different since IvyBridge got several additional features since we added it in cpu_map.xml: arat, vme, xsaveopt Adding them only to the -IBRS variant would confuse our CPU detection code. Signed-off-by: Jiri Denemark Reviewed-by: Pavel Hrdina --- src/cpu/cpu_map.xml | 50 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml index af23ed43e8..0e88d2dd9d 100644 --- a/src/cpu/cpu_map.xml +++ b/src/cpu/cpu_map.xml @@ -1123,6 +1123,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +