From nobody Thu May 15 03:24:51 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1515538002868735.2679012742021; Tue, 9 Jan 2018 14:46:42 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F23E58553D; Tue, 9 Jan 2018 22:46:40 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EF0B41799C; Tue, 9 Jan 2018 22:46:38 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 3731818033DE; Tue, 9 Jan 2018 22:46:35 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w09MjbYP023738 for ; Tue, 9 Jan 2018 17:45:37 -0500 Received: by smtp.corp.redhat.com (Postfix) id 807E31F8; Tue, 9 Jan 2018 22:45:37 +0000 (UTC) Received: from mamuti.net (ovpn-204-169.brq.redhat.com [10.40.204.169]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 29F601899E for ; Tue, 9 Jan 2018 22:45:37 +0000 (UTC) Received: by mamuti.net (Postfix, from userid 500) id 7A5361093E9; Tue, 9 Jan 2018 23:45:31 +0100 (CET) From: Jiri Denemark To: libvir-list@redhat.com Date: Tue, 9 Jan 2018 23:45:27 +0100 Message-Id: <687f6bd7af8b8e0ce80e1b35a0e8b5922ac59723.1515534925.git.jdenemar@redhat.com> In-Reply-To: References: In-Reply-To: References: Mail-Followup-To: libvir-list@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 14/17] cpu: Add Broadwell-IBRS CPU model X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 09 Jan 2018 22:46:41 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" This is a variant of Broadwell with indirect branch prediction protection. The only difference between Broadwell and Broadwell-IBRS is the added "spec-ctrl" feature. The Broadwell-IBRS model in QEMU is a bit different since Broadwell got several additional features since we added it in cpu_map.xml: abm, arat, f16c, rdrand, vme, xsaveopt Adding them only to the -IBRS variant would confuse our CPU detection code. Signed-off-by: Jiri Denemark --- src/cpu/cpu_map.xml | 60 ++++++++++++++++++= ++++ .../x86_64-cpuid-Core-i7-5600U-ibrs-guest.xml | 3 +- .../x86_64-cpuid-Core-i7-5600U-ibrs-host.xml | 3 +- .../x86_64-cpuid-Xeon-E5-2623-v4-host.xml | 3 +- 4 files changed, 63 insertions(+), 6 deletions(-) diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml index fadcb0a0a7..63b3c12ea7 100644 --- a/src/cpu/cpu_map.xml +++ b/src/cpu/cpu_map.xml @@ -1565,6 +1565,66 @@ =20 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-guest.xml b/= tests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-guest.xml index 59f814c193..a70cb6d46a 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-guest.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-guest.xml @@ -1,5 +1,5 @@ - Broadwell + Broadwell-IBRS Intel @@ -22,7 +22,6 @@ - diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-host.xml b/t= ests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-host.xml index 2fc670c85f..b8e3399103 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-host.xml @@ -1,6 +1,6 @@ x86_64 - Broadwell + Broadwell-IBRS Intel @@ -23,7 +23,6 @@ - diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-host.xml b/test= s/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-host.xml index cf718eeea0..357cafd10a 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-host.xml @@ -1,6 +1,6 @@ x86_64 - Broadwell + Broadwell-IBRS Intel @@ -25,7 +25,6 @@ - --=20 2.15.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list