From nobody Fri Nov 21 10:09:55 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1762444635; cv=none; d=zohomail.com; s=zohoarc; b=imjby415VMH81NSqj5WXlR2Jy4EKnOgdI+ETxpa+5BNLIpYaVrFDADC2qE0ITzobZMuMVm/DjzAWdWbl0y9u/lOlQAFWPk+6Ea9WTkl74K109pGmomplQrb5mizkOU++c+C6oBzLo1stnf++Qnk+9NIZPf1xG6vxUqx+TarUi8U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1762444635; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id:Cc; bh=Ltcu0EamLAhHJ07ixlBl8uVaCmgI5TByMLJl09rYksg=; b=EV4yeoNhBgZvj9RL36iVD5+b/9itlaF83ldrMpa6Ct0u24YRRgYY1JKIOJoTCqsUQzkR6HnEVb7a/+kmVN0cSQNHXYSiqgzeANIdqRQjy86BB4Svx+o8oJEwS4qNQE9/0OCxedRZOhBJJy9S26I+Hdj4rSyATPl0Pqmptqsy8y8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 176244463585553.38880360985627; Thu, 6 Nov 2025 07:57:15 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id C62F7441E6; Thu, 6 Nov 2025 10:57:14 -0500 (EST) Received: from [172.19.199.29] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id 0017C441C4; Thu, 6 Nov 2025 10:49:23 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id 7CCB3440C0; Thu, 6 Nov 2025 10:49:08 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 32C72440C0 for ; Thu, 6 Nov 2025 10:48:59 -0500 (EST) Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-152-a3jYy6VXPxSmhrd_GugJgw-1; Thu, 06 Nov 2025 10:48:57 -0500 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 56A8719560BA for ; Thu, 6 Nov 2025 15:48:56 +0000 (UTC) Received: from orkuz (unknown [10.43.3.115]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id E36F21800361 for ; Thu, 6 Nov 2025 15:48:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1762444138; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ltcu0EamLAhHJ07ixlBl8uVaCmgI5TByMLJl09rYksg=; b=MnqpUkPZt3F6xUIoVFPdB8d2dP5lVRg33nyFvzikBQtwni9SO/9GGtfgbCYiidd7qJIVvU OgAi4JzFASKseG/0JI0Au3FTNHBUVznEiHxFweX3ezdLAvOE2eZVP6onJqDuj68XUVlkt0 qAlKUxZ9C4y0xQ+MjYFm1eULTlCbseQ= X-MC-Unique: a3jYy6VXPxSmhrd_GugJgw-1 X-Mimecast-MFC-AGG-ID: a3jYy6VXPxSmhrd_GugJgw_1762444136 To: devel@lists.libvirt.org Subject: [PATCH 04/29] cpu_map: Add feature for detecting Branch History Injection immunity Date: Thu, 6 Nov 2025 16:48:21 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: FY1ChuzVWYTlcPydrByIDIS2lPGTVlJ9RsHi4V89Vac_1762444136 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: RV6S6QVRHIGJPHBE5URXRFG4PWI3XPCT X-Message-ID-Hash: RV6S6QVRHIGJPHBE5URXRFG4PWI3XPCT X-MailFrom: jdenemar@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Jiri Denemark via Devel Reply-To: Jiri Denemark X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1762444637223158500 Content-Type: text/plain; charset="utf-8" From: Jiri Denemark QEMU commit b611931d4f70b9a3e49e39c405c63b3b5e9c0df1 Signed-off-by: Jiri Denemark --- src/cpu_map/sync_qemu_models_i386.py | 1 + src/cpu_map/x86_features.xml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/cpu_map/sync_qemu_models_i386.py b/src/cpu_map/sync_qemu_m= odels_i386.py index b9698366d4..bbd7a00016 100755 --- a/src/cpu_map/sync_qemu_models_i386.py +++ b/src/cpu_map/sync_qemu_models_i386.py @@ -194,6 +194,7 @@ def translate_feature(name): "MSR_ARCH_CAP_SBDR_SSDP_NO": "sbdr-ssdp-no", "MSR_ARCH_CAP_SKIP_L1DFL_VMENTRY": "skip-l1dfl-vmentry", "MSR_ARCH_CAP_TAA_NO": "taa-no", + "MSR_ARCH_CAP_BHI_NO": "bhi-no", "MSR_CORE_CAP_SPLIT_LOCK_DETECT": "split-lock-detect", =20 # FEAT_VMX_PROCBASED_CTLS diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index c79cffab19..d6b55a5377 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -895,6 +895,9 @@ + + + --=20 2.51.0